View previous topic :: View next topic |
Author |
Message |
pinnockio Apprentice
Joined: 08 Jun 2002 Posts: 162
|
Posted: Wed May 07, 2003 4:58 pm Post subject: FTP: howto upload a whole directory? |
|
|
Hello,
Does there exist a command or easy method in the default command line ftp-programm to upload or download a whole directory with it's subdirectories and its files at once? Mget/ mput only works on files, not on directories,... .
Kind regards,
A belgian Gentoo user |
|
Back to top |
|
|
squiddy n00b
Joined: 31 Mar 2003 Posts: 39 Location: Colorado, USA
|
Posted: Wed May 07, 2003 5:15 pm Post subject: |
|
|
To the best of my knowledge there is no way to do this with ftp (as there is no recursive mget). I think a lot of people turn to ncftp or GUI's for that type of functionality. Good luck. |
|
Back to top |
|
|
Dalrain Tux's lil' helper
Joined: 02 Jul 2002 Posts: 136 Location: Wooster, OH USA
|
Posted: Wed May 07, 2003 6:25 pm Post subject: |
|
|
I use ncftp for this functionality, in addition to needing it for simple ftp batch jobs. It appears to be the way to go as far as client side CLI ftp clients go. |
|
Back to top |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Wed May 07, 2003 8:01 pm Post subject: |
|
|
Yes default ftp client stinks. Use ncftp for everything. |
|
Back to top |
|
|
Ethereal n00b
Joined: 19 Mar 2003 Posts: 38 Location: Russia, Moscow
|
Posted: Thu May 08, 2003 6:30 am Post subject: |
|
|
ncftp is rather dumb client.
try lftp, i use for more than a year and now I see that lftp is the best console client for now.
BTW for directory upload in lftp try
# mirror -R |
|
Back to top |
|
|
haven Tux's lil' helper
Joined: 19 Nov 2003 Posts: 141 Location: Belfast, Uk
|
Posted: Fri Nov 05, 2004 10:35 am Post subject: |
|
|
I've been having issues for a while with ncftp, for reasons that escape me it wont recurse into directories more than 2 levels deep.
Just tried lftp and using its 'mirror' command it recurses as far as you like. Very impressed and definately a convert from ncftp.
Ta for mentioning it. |
|
Back to top |
|
|
|