Sometimes it is needed to upload a number of files automatically without any user intervention.
WPUT utility might be a solution in this case. wput is a powerful ftp upload utility supporting resumed uploads, rate-limiting, TLS. wput is modelled after the famous UNIX download manager wget and has simple command line interface.
Here is the the list of options available in wput:
Usage: wput [options] [file]… [url]…
-V, –version Display the version of wput and exit.
-h, –help Print this help-screen
-b, –background go to background after startup
Logging and input file:
-o, –output-file=FILE log messages to FILE
-a, –append-output=FILE append log messages to FILE
-q, –quiet quiet (no output)
-v, –verbose be verbose
-d, –debug debug output
-nv, –less-verbose be less verbose
-i, –input-file=FILE read the URLs from FILE
-s, –sort sorts all input URLs by server-ip and path
–basename=PATH snip PATH off each file when appending to an URL
-I, –input-pipe=COMMAND take the output of COMMAND as data-source
-R, –remove-source-files unlink files upon successful upload
–bind-address=ADDR bind to ADDR (hostname or IP) on local host
-t, –tries=NUMBER set retry count to NUMBER (-1 means infinite)
-nc, –dont-continue do not resume partially-uploaded files
-u, –reupload do not skip already completed files
–skip-larger do not upload files if remote size is larger
–skip-existing do not upload files that exist remotely
-N, –timestamping don’t re-upload files unless newer than remote
-T, –timeout=10th-SECONDS set various timeouts to 10th-SECONDS
-w, –wait=10th-SECONDS wait 10th-SECONDS between uploads. (default: 0)
–random-wait wait from 0…2*WAIT secs between uploads.
–waitretry=SECONDS wait SECONDS between retries of an upload
-l, –limit-rate=RATE limit upload rate to RATE
-nd, –no-directories do not create any directories
-Y, –proxy=http/socks/off set proxy type or turn off
–proxy-user=NAME set the proxy-username to NAME
–proxy-pass=PASS set the proxy-password to PASS
-p, –port-mode no-passive, turn on port mode ftp (def. pasv)
-A, –ascii force ASCII mode-transfer
-B, –binary force BINARY mode-transfer
–force-tls force the useage of TLS
WPUT does not require installation. Sourceforge hosts wput pre0.6 install archive. Once you download the archive just extract its contents into a folder and you are all set.