![]() |
HELP: Need to FTP transfer from Server A to Server B
I'm transfering some files from one host to another -- I know there is a program out there that allows you to log into two FTP servers and start a transfer but I forgot the name of the program...
Or maybe I should just use FTP from the shell of one of my hosts...? Suggestions appreciated... |
|
cureftp is the fastest most easy we have found... open one ftp server and then spawn a new window and go into the second... highlight what you want moved and drag and drop. :thumbsup
|
Oh yeah... after getting the first window-server open use the top command bar to spawn the new window
commands => session => spawn new session => |
ftp hostname
mput ./* / mget ./* |
Quote:
|
ssh to server A and ftp to server B from there. transfer whatever you want
|
hmm i'm working on ftp from ssh...
i do mput ./* that kept prompting me... (transfer the file?) so I type "prompt" -- that worked -- but now it's only transfering one dir at a time... maybe "man ftp" will give me info because "help mput" just says "send multiple files" haha... |
shit the FTP docs say I need to create a tar archive first to do a directory tree...
|
Stolen from the wonderful Chicken, from
http://www.hosthideout.com/ ---- First, cd to folder you want to tar up. The following will tar everything in the folder, plus any subfolders. So if you want to tar up all the files in your httpdocs folder (index.html, etc.), plus the subfolders inside httpdocs, then you'd: log into the old server (root) cd /path/to/httpdocs tar cvf younamethe.tar * gzip younamethe.tar log into the new server (root) cd /path/to/where/you/want/all/files/to/be ftp oldserver.com (enter FTP username and pass on old server for this site) cd /path/to/httpdocs get younamethe.tar.gz quit You're now out of FTP and disconnected and in the directory /path/to/where/you/want/all/files/to/be and the file is where it should be, next step is... gzip -d younamethe.tar.gz tar xvf younamethe.tar You now have all the files where they should be and you can... rm younamethe.tar y -and you're good to go! --- Chicken, HostHideOut.com |
Quote:
|
thanks (http) you da man -- that is what I needed... I'm really a DOS person for 15+ years -- the whole tar gzip thing still eludes me --
pkzip -r blah.zip *.* pkunzip -d blah.zip seems so much easier than... tar cvf younamethe.tar * gzip younamethe.tar gzip -d younamethe.tar.gz tar xvf younamethe.tar Don't you think.......? hehe |
Quote:
but anyway i would better tar and gzip stuff first ... before transferring |
tar cvf younamethe.tar *
gzip younamethe.tar hmm I think if anyone reads this they should use tar's -p switch to preserve permissions for your scripts... and maybe "--same-owner" too... ? |
Flash FXP is definetley the shit.
|
All times are GMT -7. The time now is 02:24 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123