I am learning Unix and I need some help, how do I do a multiple file transfer with ftp in non-interactive transfer mode. I know how to get single files with "get file1 file1.copy". Can someone help me please...
Pardon me unixadmin -- but you forgot the 'prompt' command that stops mget and mput from asking if each file is ok.
[tt]
ftp -inv <<!
open 192.168.1.23
user username password
prompt
bin
mput file*
bye
!
[/tt] Mike
michael.j.lacey@ntlworld.com
Email welcome if you're in a hurry or something -- but post in tek-tips as well please, and I will post my reply here as well.
yep, good point - I shouldn't have included -i on the command line Mike
michael.j.lacey@ntlworld.com
Email welcome if you're in a hurry or something -- but post in tek-tips as well please, and I will post my reply here as well.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.