Computing.Net > Forums > Programming > FTP Download Batch File ( BAT )

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

FTP Download Batch File ( BAT )

Reply to Message Icon

Name: benaust
Date: September 28, 2007 at 07:43:17 Pacific
OS: XP
CPU/Ram: P4 2.4 / 1000
Comment:

Hi There
I am just looking for a batch file that I can run from windows scheduler to download two files from my server via ftp. I have username password address location of the file and filename. I have tried few on this site but all give me different errors and do not connect. Please help. Also to make it harder I am very novice.



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: September 28, 2007 at 08:08:58 Pacific
Reply:

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


=====================================
If at first you don't succeed, you're about average.

M2



0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: FTP Download Batch File ( BAT )

FTP and Batch Files www.computing.net/answers/programming/ftp-and-batch-files/13160.html

FTP DOS Batch File www.computing.net/answers/programming/ftp-dos-batch-file/15347.html

Batch file compiler - ExeScript www.computing.net/answers/programming/batch-file-compiler-exescript/15859.html