Sending and receiving files from the command line using the Scheduled Transfer function

Xftp does not have the ability to send and receive files directly as command line parameters. However, using command line parameters for scheduled transfers, you can send and receive files using the command line in CMD, etc.

 

  1. Create a Scheduled Transfer Instance

    1. Execute scheduled transfer from the [Tools] menu.

       

    2. Click New.

      • Name: Enter a name that does not overlap with an existing schedule. This name will be used on the command line.

      • Start on, Period: If the transfer is not to be executed periodically in the Windows Task scheduler, select the Period as ‘once’ and set the Start on date and time.

      • Source, Destination: For file uploads, select 'Local' for the source Session Type and 'Remote' for the destination Session Type. For file downloads, select 'Remote' as the Source Session Type and 'Local' as the destination Session Type.

      • Type: You can select a single file or a folder containing multiple files to transfer. You can format files and folders by date and time.

      • Session: To upload and download files to and from a remote server, you must designate a session file to connect to the remote server.

      • Path: Enter the location to save the transferred files or folders.

    3. Click ‘OK’ to save the schedule instance.

  2. Running a schedule instance from the command line

    Xftp.exe -newwin -sched "a_schedule_name"