Batch file to send file via FTP

December 2016




Issue


How to send an attachment on my FTP account using a .bat file

Solution


You must make use of 2 .bat file:

The first one:
ftp -n -s:myftp.bat ftp.youtftp.com 



The second file(Name as:myftp.bat):

user
anonymous or user
password
Nothing* or password
bin
Your ftp command(ex: mget pour dl)

Related :

This document entitled « Batch file to send file via FTP » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.