Examples
To retrieve the mine.txt file, located on the host computer, no port specified, under c:\forms with no user name or password specified, enter the following command:
-URL FTP://host/c:/forms/mine.txt
The following command example would retrieve the entire contents of the forms directory because the file name is omitted from the host computer:
-URL FTP://host/c:/forms/
To retrieve the payments.txt file, located on the source FTP server, no port specified, with a user name and password specified, and then move the file from its original location on the source FTP server to your root directory for that FTP client and rename it paymentsbackup.txt, enter the following command:
-URL FTP://ftpuser:mypassword@sourceftpserver/payments.txt -MOVE /paymentsbackup.txt
To retrieve the invoices.txt file, located on the source FTP server in the billing subdirectory, no port specified, with a user name and password specified, make the new billingbackup subdirectory in a location that is absolute to the current location of the original file, and then move the file from its original location on the source FTP server to the new subdirectory on the source FTP server with its original file name, enter the following command:
-URL FTP://ftpuser:mypassword@sourceftpserver/billing/invoices.txt
-MOVE /billingbackup/ -MKD