Welcome to WebmasterWorld Guest from 107.20.54.98

Forum Moderators: phranque

Message Too Old, No Replies

download entire directory using windows command line ftp

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

Preferred Member

5+ Year Member

joined:June 19, 2006
posts: 476
votes: 0


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

I'm able to download individual files, but not entire directory.
12:06 am on Nov 15, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 31, 2005
posts:1108
votes: 0


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

Administrator

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

joined:Aug 10, 2004
posts:10544
votes: 8


you might want to issue the prompt command before the mget * to suppress prompting for each file.
3:09 am on Nov 15, 2012 (gmt 0)

Preferred Member

5+ Year Member

joined:June 19, 2006
posts: 476
votes: 0


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?
3:15 am on Nov 15, 2012 (gmt 0)

Administrator

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

joined:Aug 10, 2004
posts:10544
votes: 8


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]
8:31 pm on Nov 15, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 31, 2005
posts:1108
votes: 0


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 *.
8:48 pm on Nov 15, 2012 (gmt 0)

Preferred Member

5+ Year Member

joined:June 19, 2006
posts: 476
votes: 0


Dijkgraaf, does that get directories as well as files? I was able to get mget to get all files but not directories too
10:02 pm on Nov 15, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 31, 2005
posts:1108
votes: 0


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.
12:05 am on Nov 16, 2012 (gmt 0)

Administrator

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

joined:Aug 10, 2004
posts:10544
votes: 8


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.