Web Hosting Talk







View Full Version : FTP'ing question


goodness0001
07-08-2002, 11:22 PM
I cant remember how to do this, but using text, what is the command to FTP everything in a directory instead of 1 file at a time.

Thanks.

RRolfe
07-08-2002, 11:55 PM
is it mget?

WoodShedd
07-08-2002, 11:58 PM
enter the directory locally, then

ftp ftp://user:pass@yourhost.com

ftp> mput *.*

goodness0001
07-09-2002, 12:12 AM
I am going to try the mget/mput command and see if it does all the files. I think it always stopped after the first file, its kind of annoying and i was sure there was a way.

GH_Dave
07-09-2002, 12:19 AM
You may need to do 'mget *' if you have files with no dot in them. You will have to hit 'y' for yes on each file (at least I have to) and it won't recurse and get subdirectories, you'll have to grab the contents individually :(

Dave

goodness0001
07-09-2002, 12:25 AM
Yes i see that you do have to hit yes, which almost defeats the purpose, the idea is to FTP multiple large files without nursing it. I wonder if you can suppress the question.

secludo
07-09-2002, 02:23 AM
First type the word "prompt" and then do mget or mput, then type "prompt" again if you want to turn it back on.

chris1cbs
07-09-2002, 10:56 AM
I could be wrong, but I think if you start ftp with a -i switch, it supresses the "yes prompt".

RRolfe
07-09-2002, 12:15 PM
wow i was right... it was mget...

GH_Dave
07-10-2002, 04:31 PM
whw: where should we send your prize?? :D hehe

admin0
07-10-2002, 05:07 PM
the best and the easy way I recommend is using mc -- midnight commander.


:homer: