COMMAND LINE FTP UPLOAD INSTRUCTIONS:
Command Line Ftp Uploader Options:
host
Ftp Server url or IP address. e.g.--host www.yourdomain.comor--host 218.73.15.16username
Your user name. e.g.--username davidpassword
Login password. e.g.--password d1daksfjvidremote
Remote folder upload to. e.g.--remote "public_html"local
Local folder to upload. e.g.--local "D:\my document\"recurse
Set--recurse trueto recurse through subdirectories. set--recurse false(default) to upload files under local only.include
Wildcard files include filter, separated by |, e.g. upload .jpg and .gif pictures only:--include "*.jpg|*.gif"exclude
Wildcard files exclude filter. If you don’t want to upload .zip files, just set--exclude "*.zip"lsize (since version 9.06.22)
transfer files that size less than 1MB(1024KB):
--lsize 1024gsize (since version 9.06.22)
transfer the files large than 100KB:
--gsize 100lmodified (since version 9.06.22)
transfer the files modified within 30 minutes:
--lmodified 30gmodified (since version 9.06.22)
transfer the files modified more than 1 day (1440 minutes) ago:
--gmodified 1440maxfiles (since version 9.06.22)
Specifies the maximum number of files to find.
--maxfiles 10maxfolders (since version 9.06.22)
Specifies the maximum number of folders to find.
--maxfolders 10overwrite (since version 9.06.22)
replaces destination regardless of its size(default):
replaces destination when size different:--overwrite true
--overwrite falseencoding (since version 9.06.22)
choose the encoding of ftp server
the ansi code page(default):
--encoding 0UTF-8 translation(auto detected):
--encoding 65001Russian:
--encoding 1251Japanese:
--encoding 932Simplified Chinese:
--encoding 936
More details about Code Page, please visit: http://msdn.microsoft.com/en-us/goglobal/bb964653.aspx
image (since version 9.06.22)
Image(Binary) transfer type(default):
ASCII(Text) transfer type:--image true
--image falsepassive
Use Passive FTP (default):--passive true
Use Active FTP:--passive falsehelp
Output help message. e.g.FtpUpload --helpjust print (since version 9.04.18)
Print all parameters, not execute them. e.g.--justPrint trueversion (since version 9.04.18)
Output version message. e.g.FtpUpload --versionman (since version 9.04.18)
Open web browser on manual page e.g.FtpUpload --manhome (since version 9.06.03)
Open web browser on home page:FtpUpload --homeexit (since version 9.04.18)
To exit program, type “exit” at the prompt:FtpUpload --exitlog (since version 9.04.27)
Open Ftp Upload log file:FtpUpload --log
How to upload directory or file from command line:
Please Note: Parameters that include spaces must be enclosed in quotes
Upload all files:
FtpUpload --host www.mydomain.com --username david --password mypassword --remote "public_html" --local "D:\my documents\my musics\"Upload one file, e.g. love.mp3:
FtpUpload --include "*\love.mp3" --host www.mydomain.com --username david --password mypassword --remote "/home/david/backup/" --local "D:\my documents\my musics\"Upload all
*.mp3files:FtpUpload --include "*.mp3" --host www.mydomain.com --username david --password mypassword --remote "backup" --local "D:\my documents\my musics\"Upload all files, but private and test folders are excluded:
FtpUpload --exclude "*\private\*|*\test\*" --recurse true --host www.mydomain.com --username david --password mypassword --remote "/home/david/backup/" --local "D:\my_documents\"Upload files that size large than 500KB:
FtpUpload --gsize 500 --host www.mydomain.com --username david --password mypassword --local "D:\my_documents\"Upload files that size less than 10MB(10240KB):
FtpUpload --lsize 10240 --host www.mydomain.com --username david --password mypassword --local "D:\my_documents\"Upload the files modified within 2 hours (120 minutes):
FtpUpload --lmodified 120 --host www.mydomain.com --username david --password mypassword --local "D:\my_documents\"Upload the files modified more than 10 days(14400minutes) ago and file size large than 1MB(1024KB):
FtpUpload --gmodified 14400 --gsize 1024 --host www.mydomain.com --username david --password mypassword --local "D:\my_documents\"Just Print all parameters, but not actually execute them:
FtpUpload --justPrint true --host www.mydomain.com --username david --password mypassword --local "D:\my_documents\"Use Passive FTP (default):
FtpUpload --passive true --host www.mydomain.com --username david --password mypassword --local "D:\my_documents\"Use Active FTP:
FtpUpload --passive false --host www.mydomain.com --username david --password mypassword --local "D:\my_documents\"Compress files to ZIP for uploads (Since Version 9.09.28):
FtpUpload --compress files.zip --host www.mydomain.com --username david --password mypassword --local "D:\my_documents\"Read arguments from cmdfile
first, create a text file contains arguments and put it into software install directory, each line is identified by a line feed or carriage return and line feed combination. for example: cmdfile.txt:
second, call from any software:--host 72.11.93.10 --username myname --password mypassword --remote /home/backup/today/ --local C:\My Documents\My music\ --include *.mp3 --exclude *\private\*|*\test\* --lmodified 60 --gsize 1024 --passive true --recurse true
Or run from command line ftp upload prompt:FtpUpload @cmdfile.txt
FtpUpload> @cmdfile.txt
with full path(Path that include spaces must be enclosed in quotes):
FtpUpload "@D:\my path\cmdfile.txt"Overwrite settings (since version 9.05.06) :
FtpUpload> @cmdfile.txt --justPrint true --include "*.exe"
Ftp Upload Software Wildcard include and exclude filter syntax:
You can include this option several times ( separated by | ) to specify specific patterns which are to be included in the file path. Once you specify one pattern you exclude all files not matching at least one of the patterns. The case be useful for restricting the types of files to be backup.
| * | Matches 0 or more instances of any character. For example, setting for *comp*.txt finds .txt files name containing any word starting with the letters comp, such as computer, company, or comptroller. |
| ? | Matches exactly one instances of any character. For example, setting for *t?p* matches any of the files path include tap, tip, and top. |
| [chars] | Matches one instance of any character that appears between the brackets. |
| [!chars] | Matches one instance of any character that does not appear between the brackets after the exclamation mark. |
| | | Separator |
