Computing.Net > Forums > Unix > ftp within ksh 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 within ksh script

Reply to Message Icon

Name: Brent
Date: January 23, 2002 at 08:47:49 Pacific
Comment:

I need to FTP a file from with a ksh script, how would I go about this?



Sponsored Link
Ads by Google

Response Number 1
Name: James Boothe
Date: January 23, 2002 at 14:05:40 Pacific
Reply:

#!/bin/ksh
ftp -n someserver << endftp
user username password
cd somedirectory
mput file1 file2 file3
bye
endftp


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 Unix Forum Home


Sponsored links

Ads by Google


Results for: ftp within ksh script

Need Help With KSH Script www.computing.net/answers/unix/need-help-with-ksh-script/6747.html

ksh script www.computing.net/answers/unix/ksh-script/6748.html

pg a file within a script www.computing.net/answers/unix/pg-a-file-within-a-script/6503.html