Link to home
Start Free TrialLog in
Avatar of gam8
gam8

asked on

How to copy files from one server to another using SFTP

Hello experts,

I'm trying to transfer files from one linux server to another (both remote).

Using WinSCP, I've logged into both servers thru' SFTP but I'm not sure how to copy files. Should I have to write copy commands in the console window or is there's a provision to drag and drop files?

Is there any other program that would support this requirement? (Drag and drop files using SFTP)

Any comments would be appreciated.. Thanks
Avatar of ibrahim52
ibrahim52
Flag of United Arab Emirates image

For make it more simple. Refer the link below.

Referred link :
http://abdussamad.com/archives/508-What-is-a-GUI-SFTP-client-for-Linux.html
Avatar of gam8
gam8

ASKER

Thanks ibrahim. I guess I wasn't clear. My bad.

I'm currently using Windows 7 Prof. I'm trying to copy files between 2 remote Linux servers. So I'm looking for a Windows program to perform this task.
Avatar of omarfarid
I think you can drag and drop between the two windows.
I have winscp and I logged in to two different servers and dragged and dropped files & dir
Avatar of gam8

ASKER

Thanks omar. That's good to know. I'm using WinSCP 4.3.7 (Build 1679)

I'd appreciate if you could please let me know how to have the 2 servers side by side.

As of now, I log into one of the servers when I start WinSCP. And I log into the second server by going to Session --> Saved Session and choosing the second server.

Under the 'Session' drop down at the top, I can see both the servers. I can choose either one here but I'm not sure how to have them side-by-side to drag and drop.

Right now, I can only drag and drop between one of those servers and my local PC.

I feel I'm wrong somewhere. I'd appreciate your help.. Thanks again.
To tell you the truth, I have winscp on my hard disk and I run it two times and logged in to the two servers then I dragged and dropped the files and directories.
Avatar of gam8

ASKER

Thanks again, Omar.

So you mean you copy the files from the first instance of WinSCP to the second instance?

It doesn't work for me that way : (
SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gam8

ASKER

When dragging, as soon as I cross my local PC area to the second window of WinSCP, the copy icon changes to 0 (blocked) icon..

Have you logged into both the servers using SFTP?
Avatar of gam8

ASKER

I tried but it didn't help.

I just tried SFTPing on FlashFXP. Files transfer @ 250 KB/s.  I understand SFTP isn't fast but this is unbelievably slow.

I guess I'll just try rsync instead. :(
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial