Welcome to WebmasterWorld Guest from 54.145.39.186

Forum Moderators: phranque

Message Too Old, No Replies

download entire directory using windows command line ftp

     

drooh

10:08 pm on Nov 13, 2012 (gmt 0)

5+ Year Member



Does anyone know how to download entire directory using windows command line ftp?

I'm able to download individual files, but not entire directory.

Dijkgraaf

12:06 am on Nov 15, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



possibly Mget *

phranque

2:11 am on Nov 15, 2012 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



you might want to issue the prompt command before the mget * to suppress prompting for each file.

drooh

3:09 am on Nov 15, 2012 (gmt 0)

5+ Year Member



from what i've read this is not possible with the windows command line. the suggestions i've read say to have the server make a single zip file, however in my situation there is not enough server space to do so.

wonder if it would be possible to do the reverse, have the server FTP the files to a home ftp server?

phranque

3:15 am on Nov 15, 2012 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



from what i've read this is not possible with the windows command line


have you read this?

Microsoft Windows XP - Ftp subcommands:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ftp.mspx?mfr=true [microsoft.com]

Dijkgraaf

8:31 pm on Nov 15, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you tried mget * in Windows?
I just tried it and it worked.

I think the threads you read was were someone tried to use get * rather than mget *.

drooh

8:48 pm on Nov 15, 2012 (gmt 0)

5+ Year Member



Dijkgraaf, does that get directories as well as files? I was able to get mget to get all files but not directories too

Dijkgraaf

10:02 pm on Nov 15, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I tried the recursive option
mget * -R
But it threw access denied errors, but that might be just be an permissions issue so give that a go.

phranque

12:05 am on Nov 16, 2012 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



i didn't realize you also meant subdirectories.

you can probably do things like mget */* but it's unlikely the command line ftp will create missing directories.

you will need an "explorer-type" graphical ftp client and then you can just drag-and-drop directories.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month