homepage Welcome to WebmasterWorld Guest from 23.20.28.193
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
download entire directory using windows command line ftp
drooh




msg:4518885
 10:08 pm on Nov 13, 2012 (gmt 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.

 

Dijkgraaf




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

possibly Mget *

phranque




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

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

drooh




msg:4519234
 3:09 am on Nov 15, 2012 (gmt 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?

phranque




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

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




msg:4519464
 8:31 pm on Nov 15, 2012 (gmt 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 *.

drooh




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

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

Dijkgraaf




msg:4519489
 10:02 pm on Nov 15, 2012 (gmt 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.

phranque




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

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved