Users GuideWS_FTP ProBasic Command Line SyntaxTo use the command line, you type the command name ftp95pro followed by whatever arguments you need to complete your task.ftp95pro -i games.ini -p Damion -s local:c:Tag.doc -d Damion:/pub/Tag.docThe four arguments used most often are -i, -p, -s, and -d. These arguments tell WS_FTP Pro, respectively, the name of the folder where the site is stored, the name of the site configuration, the source of the transfer, and the destination of the transfer. Note The -i argument must be the first argument after the ftp95pro command. Furthermore, the path on the FTP server (whether it is the source or destination) must be complete and correct; use the fully qualified format:-d sitename:/root/path/filenameSpecifying the FTP SiteYou can use names of configured sites to do FTP transfers from the command line. If your site names have no spaces in them, type the commands as shown below. If, however, your site names have spaces, enclose the entire command in quotes as described in Transferring Files with Spaces
in the File Names on page 119.Specifying
the Site Folder (.ini File)WS_FTP
Pro uses .ini files to store your site configurations
and other program settings. Each site folder (such as the Games and Hardware folders that are preconfigured by Ipswitch) is represented by an .ini file. For example, the site folder named Games is represented by a file named Games.ini that contains all the site configurations you have saved in the Games folder. For more information on storing sites in folders, see Preconfigured FTP Sites on page 13 and Organizing Sites in Folders on page 26.When you use the command line to perform a transfer, you must always use the -i parameter to indicate which site folder (i.e., which .ini file) the site configuration is stored in. For example, use -i games.ini if the FTP site is stored in your Games folder. (The only time you don't need this parameter is if the site is stored in your Sites folder.)