Batch file that downloads files from FTP server on Windows Scheduler
Batch file that can be run from windows scheduler to download two files from my server via ftp. I have username password address location of the file and filename.
V@echo off
> %0.ftp echo o mysite.com
>> %0.ftp echo username
>> %0.ftp echo password
>> %0.ftp echo bin
>> %0.ftp echo cd mydir
>> %0.ftp echo prompt
>> %0.ftp echo mget filename.ext
>> %0.ftp echo bye
ftp -s:%0.ftp