Jasmine Java is an auto FTP uploader.
How to use:
- create & edit your own ini file using examples from sample.ini file.
-
run following command (ex., when uses "sample.ini");
Windows XP: using "Command Prompt"D:\Jasmine>java -classpath . jasmine sampleD:\Jasmine>java -classpath . jasmine sample.iniMacOS X (or maybe Linux, etc): using "Terminal"
~/Jasmine prettypop$ Java -classpath . Jasmine sample~/Jasmine prettypop$ Java -classpath . Jasmine sample.ini...maybe it works well. good luck.
Functions and parameters (ini file):
- Upload updated files since last upload date & time. (ver.1.00)
- Remove files, not available local directory, from server. (ver.1.00)
-
Logging. (ver.1.10)
Logging=Yes or No (default)
-
Ignore file extension. (ver.1.20)
IgnoreFileExtensions=<none> (default) or extentions. *1*1: ex.,zip, mp3, wav,... etc.
I recomend to add "DS_Store", when you use Jasmine Java on MacOS X. -
Upload files older but previously unuploaded. (ver.1.30)
UploadPreviouslyUnuploaded=Yes or No (default)
-
HTML Keyword Exchange (ver.1.30, 1.50)
HtmlKeywordExchange=Yes or No (default)Keywords are as follows:
keyword exchange to... (example) %<!--JSM_VERSION-->% : 1.50 %<!--JSM_OS_NAME-->% : Windows XP %<!--JSM_UPLOAD_YEAR-->% : 2006 %<!--JSM_UPDATE_YEAR-->% : 2006 %<!--JSM_UPLOAD_DATE-->% : 07.Jun.2006 %<!--JSM_UPDATE_DATE-->% : 04.Jun.2006 %<!--JSM_UPLOAD_TIME-->% : 23:08 %<!--JSM_UPDATE_TIME-->% : 13:28 %<!--JSM_FILE_SIZE-->% : 11,709 byte (local file) -
HTML KeywordExchange: Date Separator (ver.1.50)
You can set date separate character of your choice with the following parameter.DateSeparator=. (default) or any (ex.,/, -,... etc). *2*2: dot, slash, hyphen,... etc. -
HTML KeywordExchange: Date Format (ver.1.50)
DateFormat=ddmmyyyy (default), mmddyyyyy or yyyymmdd
-
HTML KeywordExchange: Month Format (ver.1.50)
MonthFormatr=Alphabet (default) or Numeric *3*3: Alphabet - Jan, Feb, Mar,...,Dec / Numeric - 01, 02, 03,...,12
Note:
- Jasmine Java is AS IS CONDITION and the writer should not have any responsibilities but hold the copyright. Testing and bug reports are welcomed.
- Jasmine Java can remove only files uploaded by Jasmine. I recomend you to upload all files under local directory when you use Jasmine Java first time.
-
Jasmine Java require Java 1.5.x platform.
I mainly tested on Microsoft Windows XP SP2 Japanese edition, but it may work on MacOS X or the other OS.
C:\>java -version
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)