LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-01-2012, 09:52 AM   #1
acianci
LQ Newbie
 
Registered: May 2012
Posts: 2

Rep: Reputation: Disabled
copy from windows to linux


hello - I'm a total newbie to linux and, as such, come face to face with obstacles daily. My first question on this forum is: im trying to scp a file from windows to linux. how do I do this? Thanks in advance!
 
Old 05-01-2012, 09:57 AM   #2
suicidaleggroll
Senior Member
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 3,038

Rep: Reputation: 1057Reputation: 1057Reputation: 1057Reputation: 1057Reputation: 1057Reputation: 1057Reputation: 1057Reputation: 1057
winscp or cygwin

I use cygwin since I prefer a linux CLI rather than a GUI.
 
Old 05-01-2012, 09:58 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

winSCP can do that.

Hope this helps.

Edit: too slooooow
 
Old 05-01-2012, 10:07 AM   #4
acianci
LQ Newbie
 
Registered: May 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
thanks all - i just tried both and no luck. what I'm doing is: scp user@fromhost:filename user@tohost:filename and replacing the scp with cygwin winscp - is this command correct?
 
Old 05-01-2012, 10:12 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

Although you can use the CLI, winSCP is basically a GUI. Documentation can be found here: winSCP Documentation.

Hope this helps.
 
Old 05-01-2012, 10:19 AM   #6
suicidaleggroll
Senior Member
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 3,038

Rep: Reputation: 1057Reputation: 1057Reputation: 1057Reputation: 1057Reputation: 1057Reputation: 1057Reputation: 1057Reputation: 1057
Quote:
Originally Posted by acianci View Post
thanks all - i just tried both and no luck. what I'm doing is: scp user@fromhost:filename user@tohost:filename and replacing the scp with cygwin winscp - is this command correct?

Winscp is a Windows GUI, there is no command to type in, you just fill in the boxes for user and host and then browse the server like an FTP client.
Cygwin is a Linux-style CLI that runs in Windows. From the Cygwin terminal you can run scp like normal.

Your command is also a bit off as well, either your fromhost or your tohost has to be local, you can't use SCP on machine 1 to transfer a file between machine 2 and machine 3. The command would be "scp filename user@host:filename" if you want to transfer from the local machine to a remote machine, or "scp user@host:filename filename" if you want to transfer from a remote machine to the local machine.

Last edited by suicidaleggroll; 05-01-2012 at 10:23 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy files between Linux and Windows lee_can Linux - Newbie 7 06-13-2011 03:30 PM
Copy files from Linux onto Windows grob115 Linux - Server 3 11-29-2010 01:08 PM
Smbclient copy from Linux to windows depam Linux - Software 4 01-02-2010 04:01 PM
can't copy from windows to linux(samba) kaibs Linux - Software 2 02-27-2007 01:57 AM
can i copy windows contents into linux gurpreetpall Linux - General 5 03-20-2002 03:23 PM


All times are GMT -5. The time now is 03:10 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration