Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
FTP: howto upload a whole directory?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pinnockio
Apprentice
Apprentice


Joined: 08 Jun 2002
Posts: 162

PostPosted: Wed May 07, 2003 4:58 pm    Post subject: FTP: howto upload a whole directory? Reply with quote

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
View user's profile Send private message
squiddy
n00b
n00b


Joined: 31 Mar 2003
Posts: 39
Location: Colorado, USA

PostPosted: Wed May 07, 2003 5:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dalrain
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2002
Posts: 136
Location: Wooster, OH USA

PostPosted: Wed May 07, 2003 6:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Wed May 07, 2003 8:01 pm    Post subject: Reply with quote

Yes default ftp client stinks. Use ncftp for everything.
Back to top
View user's profile Send private message
Ethereal
n00b
n00b


Joined: 19 Mar 2003
Posts: 38
Location: Russia, Moscow

PostPosted: Thu May 08, 2003 6:30 am    Post subject: Reply with quote

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
View user's profile Send private message
haven
Tux's lil' helper
Tux's lil' helper


Joined: 19 Nov 2003
Posts: 141
Location: Belfast, Uk

PostPosted: Fri Nov 05, 2004 10:35 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum