HOW TO schedule FTP file transfer

By Jalal Khan On October 6, 2008 · Filed Under FTP, HOW TO 

This post will give you the quick overview on how to schedule FTP file transfer between windows computers or windows to linux computers.

What is FTP? FTP a member of the TCP/IP suite of protocols, and a protocol used for transferring files over the TCP/IP network” (‘transfer’ typically would mean upload/download files), FTP is mainly associated to internet file transfers then on a windows LAN environment. You can even use FTP for simple transfer files between windows or windows to UNIX computers.

Follow the below for sceduling FTP file transfer:

  • You could either use hostname or IP address of the server to connect
  • Make sure that the user has proper permission on the destination directory
  • Make sure to type the correct directory
  • If you want to schedule the FTP file transfer
    • You need to create a text file contains FTP commands ex. below and
    • A .bat file to be run by a scheduler a specific time repeatedly or once.
  • The bat file for running the FTP common would typically contain
    • ftp -s :d:\ftp\test\test.txt (make sure you type the path correctly)

Sample file:

open 192.168.1.3
ftptest
ftp@test
bin
prompt
cd test
lcd d:\ftp\test
mput *.zip
quit

For help on different command line option, type help

Last 5 posts by Jalal Khan

Comments

Leave a Reply