The following example command runs the FTP Client (Rftpc.exe) and connects to a site named West Coast, which is defined in the default settings file.
"C:\Program Files\Micro Focus\Reflection\rftpc.exe" "West Coast"
In the example above, quotation marks must surround the executable file specification because the path specifies a folder name that contains a space. Similarly, the site name is surrounded by quotation marks because it contains a space in the name.
The next example command uses the /Wswitch to specify the URL for an FTP site and the /L switch to direct the FTP Client (rftpc.exe) to log all client/server communication to a log file named Ftpinfo.log.
"C:\Program Files\Micro Focus\Reflection\rftpc.exe" /W ftp://ftp.myco.com /L Ftpinfo.log
The following example command tells the FTP Client to connect using a settings file and run a script file. The /RFW switch directs the FTP Client to connect using the settings file Myfile.rfw. The /RFS switch directs the FTP Client to run the script file Transfer.rfs after connecting to the server specified in the settings file.
"C:\Program Files\Micro Focus\Reflection\rftpc.exe" /RFW "C:\Mypath\Myfile.rfw" /RFS "C:\Mypath\Transfer.rfs"