LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-27-2015, 05:57 AM   #1
spatil20
LQ Newbie
 
Registered: May 2015
Posts: 21

Rep: Reputation: Disabled
How to transfer the file from Windows to Linux server


How to transfer the file from Windows to Linux server, while using below code I getting issue.

Command:- $ scp C:\Users\patil20\Desktop\NAV.1184.test112345.dat username@hostname:/u/spatil20/test.da

ERROR in Linux:- ssh: C: Name or service not known

thanks,
santosh
 
Old 05-27-2015, 06:04 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Welcome to LinuxQuestions.

pscp is a windows command line version of scp can be downloaded from http://www.chiark.greenend.org.uk/~sgtatham/putty/.

Alternatives to pscp are filezilla and winscp GUI applications that use sftp.
 
Old 05-27-2015, 06:07 AM   #3
spatil20
LQ Newbie
 
Registered: May 2015
Posts: 21

Original Poster
Rep: Reputation: Disabled
i have pscp downloaded in my desktop what is the next step i need to do..i am new to the linux
 
Old 05-27-2015, 06:16 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
What distribution/version are you running? Is the ssh server running and the firewall if running allows ssh connections?

I would add pscp to your path environment.
http://www.computerhope.com/issues/ch000549.htm

Once the above steps are configured then you can type the command as posted. You need to be in the directory where your file is located or use the full path.
 
  


Reply



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
Urgent!! File transfer from Windows to Linux server using ftp g1234 Linux - Newbie 6 02-01-2015 07:30 AM
Windows - to Linux file transfer casperdaghost Linux - Newbie 6 01-20-2013 06:38 PM
transfer file from linux to windows aggrishabh Linux - Newbie 5 01-18-2011 01:02 PM
there a way to transfer a file on linux to windows? e0r Linux - Newbie 4 02-21-2005 11:29 AM
Linux/Windows file transfer: Possible? Fudge T Goblin Linux - Newbie 6 09-17-2003 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:09 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration