CrossFTP Knowledgebase
Search:     Advanced search
Browse by category:
Contact Us

How to Use CrossFTP by Command Line?

Add comment
Views: 8435
Votes: 0
Comments: 0
Posted: 17 Nov, 2009
by: Admin A.
Updated: 17 Nov, 2009
by: Admin A.
CrossFTP supports the command line start up for customization purpose. Currently we do not support pure console mode yet. Hence you need a GUI environment to run CrossFTP. To start CrossFTP from the command line, first you need to download the CrossFTP's portable version at http://www.crossftp.com/crossftp-all-bin.zip    After that, the following usage help shows all the parameters available in current CrossFTP client:

CrossFTP client's command line parameter usage: start_client.sh [-n]
       [-d=proxyDomain] [-u=user] [-v=passive] [-q=proxyHost] [-z=proxyPass]
       [-o=host] [-m=remotePath] [-h] [-y=proxyType] [-r=proxyPort] [-a=account]
       [-l=queue_file] [-s=jnlp_server_url] [-x=proxyUser] [-k=key]
       [-c=jnlp_client_url] [-w=pass] [-t=protocol] [-p=port]
 -a,--account <account>               FTP account name in FTP protocol, or
                                      the Windows Domain name in WebDav protocol
 -c,--jnlp_client <jnlp_client_url>   Client's jnlp
 -d,--proxyDomain <proxyDomain>       HTTP proxy's Windows domain
 -h,--help                            Show command line options
 -k,--key <key>                       License Key
 -l,--load <queue_file>               [Pro only] Load the queue file and
                                      start transfer
 -m,--remotePath <remotePath>         Remote path
 -n,--no_restore                      Do not show queue restore dialog
 -o,--host <host>                     FTP host name
 -p,--port <port>                     FTP port
 -q,--proxyHost <proxyHost>           Proxy host
 -r,--proxyPort <proxyPort>           Proxy port
 -s,--jnlp_server <jnlp_server_url>   Server's jnlp
 -t,--protocol <protocol>             Protocol type (FTP, FTPS/Implicit,
                                      FTPS/SSL, FTPS/TLS, SFTP/SSH, WebDav, WebDav/HTTPS, S3, or S3/HTTPS)
 -u,--user <user>                     FTP user name
 -v,--passive <passive>               FTP Passive mode (true or false)
 -w,--pass <pass>                     FTP password
 -x,--proxyUser <proxyUser>           Proxy user
 -y,--proxyType <proxyType>           Proxy type (HTTP, SOCK4, SOCK5,
                                      FTP_OPEN, FTP_SITE)
 -z,--proxyPass <proxyPass>           Proxy password

Here is an example. In many cases, you want to automate your task, so that you've defined your batch transfer, and saved in a queue file named "test.que". After that you may want to load the this "test.que" at the CrossFTP's start up, and start the transfer automatically. You can use the following command to achieve this:

Windows:
run_client.bat --load=pathTo\test.que --no_restore
Mac/Linux:
run_client.sh --load=pathTo/test.que --no_restore

which means you will load and start the queue file automatically, and does not display the Queue Restore Dialog. After this execution, the CrossFTP will start up, and process the specified queue.
Others in this Category
document ASCII and Binary transfer mode
document What is FXP (Site to Site) transfer?
document Password Protection
document Whether CrossFTP Pro provides the advanced security for FTP transportation?
document How to change to the Stream mode?
document Amazon CloudFront Distribution
document Amazon S3 Support
document Edit Remote Files in CrossFTP
document Fast filter and search the file in list
document Manage FTP sites by FTP command
document How to change the files' default Mime types for Amazon S3 in CrossFTP?
document Reset configurations for CrossFTP
document Mutli-Thread Transfer
document Schedule Transfers in CrossFTP
document MobileMe iDisk Support
document Sun Cloud Storage WebDav/HTTPS Support
document Protocols Supported in CrossFTP Pro
document FTP and FTPS Support
document SFTP/SSH Protocol Support
document WebDav and WebDav/HTTPS Support
document How to setup custom metadata headers for Amazon S3 objects with CrossFTP?



RSS