![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jan 2003
Posts: 145
|
ftp commands quick question
what is the ftp command to transfer multiple directories from a server to another? i've tryied 'mput' but don't work becouse mput is just for file (not directories)
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jun 2004
Posts: 133
|
You can try -r parametr ... or something like help, help mput :-)
It depends on the FTP client you are using. It is not general to the FTP protocol itself, that is why the answer could not be definite.
__________________
Bright Porn | Webmasters | Free Galleries | Sponsors | Traffic Trades | Hardlinks ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Mar 2004
Posts: 5,116
|
I think you are able to do it via SSH, cant you use that?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jan 2003
Posts: 145
|
mput -r don't work
help mput: ftp> help mput mput send multiple files ftp> any others ideas? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Join Date: Jan 2003
Posts: 145
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Sep 2001
Location: Boston
Posts: 4,873
|
best way is to tar -it up and move it
if you haven't got shell then make a cgi or a php script to do it |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Sep 2001
Location: Boston
Posts: 4,873
|
tar -cf directory.tar directory
in php PHP Code:
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: Jun 2004
Posts: 133
|
Quote:
__________________
Bright Porn | Webmasters | Free Galleries | Sponsors | Traffic Trades | Hardlinks ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Oct 2002
Posts: 3,745
|
Rather than using the command "ftp" try "ncftp".
NcFTP is a more full featured ftp client that includes recursive get and put with the "-r" option: [[email protected]] $ ncftp -u username hostname.com > put -r somedir
__________________
For historical display only. This information is not current: support@bettercgi.com ICQ 7208627 Strongbox - The next generation in site security Throttlebox - The next generation in bandwidth control Clonebox - Backup and disaster recovery on steroids |
![]() |
![]() ![]() ![]() ![]() ![]() |