User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » Help moving files & folders with SSH Page [1]  
YOMAMA
Suspended
6218 Posts
user info
edit post

I need to move a site from one server to another and the total is around 2 gigs w/ folders and files.

What would be the best way to do this? Its pointless to DL it all to my machine at home and then upload seeing as it would take forever.

I was thinking of making a .tgz of the entire html dir and then w/ shell FTP it and unpacking it but thats gonna kill everyone else on the Progress-Systems server and I don't wanna crash the box since it seems maxed out all the time anyway.

Is there a command with the FTP option in shell to PUT a directory and not just a file?

12/6/2005 5:59:16 PM

gephelps
All American
2369 Posts
user info
edit post

Like mput?

12/6/2005 6:11:31 PM

YOMAMA
Suspended
6218 Posts
user info
edit post

yeah but from what I have read mput you have to list each file

12/6/2005 6:14:16 PM

gephelps
All American
2369 Posts
user info
edit post

Use a wildcard '*', turn off prompting, profit

12/6/2005 6:18:02 PM

YOMAMA
Suspended
6218 Posts
user info
edit post

you the man!

12/6/2005 6:19:30 PM

YOMAMA
Suspended
6218 Posts
user info
edit post

Dammit!

I'm still not getting it. What am I doing wrong? Here is my output.

ftp> mput *
mput mail? y
mail: not a plain file.
mput mainwebsite_cgi? y
mainwebsite_cgi: not a plain file.
mput mainwebsite_html? y
mainwebsite_html: not a plain file.
mput tmp? y
tmp: not a plain file.
mput webstat? y
webstat: not a plain file.
mput www? y
www: not a plain file.

12/6/2005 6:22:45 PM

smoothcrim
Universal Magnetic!
18966 Posts
user info
edit post

cp -R *

12/6/2005 8:09:19 PM

YOMAMA
Suspended
6218 Posts
user info
edit post

ftp> cp -R *
?Invalid command
ftp> cp
?Invalid command
ftp>

12/6/2005 8:20:11 PM

smoothcrim
Universal Magnetic!
18966 Posts
user info
edit post

oh can you not SSH? cp -R /webdir is a terminal command

12/6/2005 8:34:04 PM

YOMAMA
Suspended
6218 Posts
user info
edit post

No I do not have SSH on the other box.

Thats why I'm stuck trying this stuff

12/6/2005 8:41:26 PM

YOMAMA
Suspended
6218 Posts
user info
edit post

would tunneling work for this sort of thing?

12/6/2005 8:43:19 PM

State409c
Suspended
19558 Posts
user info
edit post

Just wait until later this evening, tar and highly compress it all, then just send it with FTP.

12/6/2005 9:11:45 PM

YOMAMA
Suspended
6218 Posts
user info
edit post

already tried.

the server keeps crapping out

12/6/2005 9:18:46 PM

joe17669
All American
22728 Posts
user info
edit post

get an SFTP client -- just transfer straight up through SSH

(or maybe I didn't read the thread too carefully)

[Edited on December 6, 2005 at 9:45 PM. Reason : or scp]

12/6/2005 9:45:03 PM

State409c
Suspended
19558 Posts
user info
edit post

progress doesn't allow ssh access is the main problem

you do realize you probably could have downloaded it by now....probably could have compressed it and had it on its way back up...and it would be done faster than you will be able to find a solution here.

12/6/2005 9:49:28 PM

YOMAMA
Suspended
6218 Posts
user info
edit post

You realize ....

1. I have shell.

2. When ever I try to compress it craps out.

3. Somehow I have crapped out the admin panel now.

4. I've been downlaoding this whole time.

5. I just find it odd that there is no utility that allows you to have 2 remotes sessions open and transfer files between them.

12/6/2005 9:59:07 PM

joe17669
All American
22728 Posts
user info
edit post

sounds like progress has some issues.

have you tried tar/gzipping up various directories instead of the whole thing at once?

12/6/2005 10:07:16 PM

State409c
Suspended
19558 Posts
user info
edit post

I don't understand FTP option in shell


So you have SSH access to your server?

12/6/2005 10:10:59 PM

YOMAMA
Suspended
6218 Posts
user info
edit post

no ... Im just gonna set it to upload tonight before bed and wake up and it should be on its way to being finished!

it's just wack because it could have taken less than 15 mins.

12/6/2005 10:12:02 PM

YOMAMA
Suspended
6218 Posts
user info
edit post

Quote :
"So you have SSH access to your server?"

Yeah

12/6/2005 10:12:32 PM

State409c
Suspended
19558 Posts
user info
edit post

did you try doing a recursive ls -A (I think, whatever doesn't return . and ..) and piping the contents to scp?

12/6/2005 10:28:58 PM

scud
All American
10804 Posts
user info
edit post

blah blah this whole things is retarded

get WinSCP and you'll be done

12/6/2005 10:30:02 PM

YOMAMA
Suspended
6218 Posts
user info
edit post

CAn you tell me where it can do what I want?

This is form the main readme.
Quote :
"Its main function is the secure file transfer between a local and a remote computer."

12/6/2005 10:31:59 PM

scud
All American
10804 Posts
user info
edit post

what do you mean? you login then you drag 'n drop. pretty self-explanitory....

12/6/2005 10:34:52 PM

YOMAMA
Suspended
6218 Posts
user info
edit post

did you read my original post.

I am trying to cut out my local machine.

I want 2 panels.

one remote session on the left "PROGRESS-SYSTEMS"
and one remotes session on the right "New Server"

12/6/2005 10:37:39 PM

YOMAMA
Suspended
6218 Posts
user info
edit post

Quote :
"Can I transfer files between two remote servers with WinSCP
Table of Contents +-

* If you want to transfers files directly from one server to another
* If you want to transfers files between the two servers via local workstation

If you want to transfers files directly from one server to another

You cannot. "

12/6/2005 10:42:47 PM

scud
All American
10804 Posts
user info
edit post

eh sorry about that
then you really want FXP

I've only used LeapFXP but i'm sure there's 890134513 good ones out there.

12/6/2005 10:54:29 PM

YOMAMA
Suspended
6218 Posts
user info
edit post

No its cool.

Im more determined now to just find a program out there that can actually do this in case I need to do it in the future!

More for shits and giggles now.

SO this FXP is what I would use ehh?

12/6/2005 10:57:25 PM

smoothcrim
Universal Magnetic!
18966 Posts
user info
edit post

FXP is what you want to use if you don't have ssh access. if you have ssh access to both boxes, you can just use scp (not winscp) and be fine. this is assuming both webservers are on *nix and have sshd running.

12/6/2005 11:01:08 PM

YOMAMA
Suspended
6218 Posts
user info
edit post

Progress is crapping out thats why Im doing what Im doing. NOt using shell that is.

Hey I looked all over he web for LeapFXP but cant find it or any other liek client.

You still have it?

NM found it

[Edited on December 6, 2005 at 11:07 PM. Reason : d]

12/6/2005 11:05:35 PM

 Message Boards » Tech Talk » Help moving files & folders with SSH Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.