1 usage:
1.1 help:
ftpc -h
1.2 sites manage:
ftpc [-sairw index host user pwd port download_path]
-s: site manage mode,e.g. 'ftpc -s'
a : list all sites, e.g. 'ftpc -sa'
i : insert a new record ,host address without a '/', and download_path is abs path ,e.g. 'ftpc -si host:user:pwd:port:download_path'
r : remove a record , e.g. 'ftpc -sr index'
w : which index site works , 0 based , e.g. 'ftpc -sw 2',if not set , default is the first site
1.3 ftp usage:
ftpc [-c url]
-c: connect the server , this option is default , e.g. 'ftpc'
the DOWNLOAD & UPLOAD options appear in run time menu .
1.4 e.g.
a) view all my sites:
'ftpc -sa' or 'ftpc -s'
b) add a new site on the first place:
ftpc -si "127.0.0.1:root:root:21:/home/me/ftpdown"
c) login server:
'ftpc -c' or 'ftpc'
d) (runtime command)download a file to default download path
'd@0'