Tuesday, 13 December 2011

Script to Do continuous FTP from windows client to FTP server

This is to put continuous loop to ftp server which can be Linux FTP server or windows based FTP server like Fillezilla.

First Method to start continuous FTP loops to FTP server:

On Client:

1) Make one TXT file which contains the following information:

open ftpserveripaddress
put filename

Save it as ftpputloop.txt

2) Open Command prompt and go to the directory in which the file is saved.

Give below command :

c:\> for /L %i IN (1,1,99999999999) DO ftp -s:ftpputloop.txt

This command will continuously gets repeated and do FTP put.

You can do similar for ftp get also.