5 replies
by stillatit
If you are in Unix, yes. Include "close" command for one server, followed by an "open" command for the next server:
ftp -n < mycommandfile
where the contents of mycommandfile are:
open firstserver.foo.com
user me
pass mypass
put foo.bar
close
open nextserver.foo.com
user me
pass mypass
put foo.bar
quit
Note that you use the -n flag on the ftp command to eliminate automatic login so that this will work
by doe
by kschang
Which FTP program? What script?
If you're talking about the command prompt FTP.EXE that comes with Windows, absolutely, just have it CLOSE the connection and OPEN another one.
Otherwise, you'll have to tell us what you mean exactly. We're ITguys, not mindreaders.
--KC
by doe
by doe
This discussion is closed to new replies.
Trending Software posts
Sort by Trending