Computing.Net > Forums > Windows Server 2003 > FTP batch script

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 batch script

Reply to Message Icon

Name: hakunamatata
Date: April 19, 2006 at 18:41:15 Pacific
OS: winxp
CPU/Ram: 256
Comment:


hi,
how to make a ftp batch script that will automatically login to server and automatically transfer the files to local folder..
thanks.
hakunamatata



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: April 20, 2006 at 00:03:54 Pacific
Reply:

Try this:

::== ftpfiles.bat
@echo off

> ft.do echo o domain.com
>> ft.do echo username
>> ft.do echo password
>> ft.do echo bin
>> ft.do echo cd mydir
>> ft.do echo prompt
>> ft.do echo mget filespec
>> ft.do echo bye

ftp -s:ft.do

del ft.do
:: DONE


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

M2Go



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 Windows Server 2003 Forum Home


Sponsored links

Ads by Google


Results for: FTP batch script

FTP Batch Script for date filename www.computing.net/answers/windows-2003/ftp-batch-script-for-date-filename-/811.html

Batch script to move/delete files www.computing.net/answers/windows-2003/batch-script-to-movedelete-files/6453.html

Sqlplus batch script under win2003 www.computing.net/answers/windows-2003/sqlplus-batch-script-under-win2003/4122.html