Computing.Net > Forums > Disk Operating System > FTP batch file

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 file

Reply to Message Icon

Name: Matt
Date: November 7, 2000 at 11:29:51 Pacific
Comment:

Can anyone tell me how to make an ftp batch file that automatically puts in the user and the password?

the ftp server is a sco unix box

Thanks in advance!
Matt



Sponsored Link
Ads by Google

Response Number 1
Name: Laurence
Date: November 7, 2000 at 11:59:57 Pacific
Reply:




Batfiles: The DOS batch file programming handbook


I've seen this discussed before in news:alt.msdos.batch
If you don't get an answer here, you might ask there.


0

Response Number 2
Name: Rigel
Date: November 8, 2000 at 05:24:02 Pacific
Reply:

echo all the responses in advance to a text file, then pipe the text file into the ftp command, then delete the text file.


0

Response Number 3
Name: cepade
Date: November 21, 2000 at 08:19:50 Pacific
Reply:

make a batchfile with a line
FTP -n -s:\Directory\TRANS.SRC [IP-Adress]

The trans.src file looks as followed:
user [username] [passwd]
lcd \Directory
cd /directory1
ascii
put file1 file1
get filenew filenew
close
bye


0

Sponsored Link
Ads by Google
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 Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: FTP batch file

Ftp Batch file www.computing.net/answers/dos/ftp-batch-file/2551.html

FTP Batch Files www.computing.net/answers/dos/ftp-batch-files/14272.html

DOS Batch file to FTP files from UNIX www.computing.net/answers/dos/dos-batch-file-to-ftp-files-from-unix/2105.html