473,388 Members | 1,385 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

copying files from Server to local machine using putty

Hi,
I am trying to copy a file from the server to the local machine using the following command in PUTTY. But it is showing "No such file or directory". Can somebody help me resolve this issue

Expand|Select|Wrap|Line Numbers
  1. scp -r USERNAME@SERVER_NAME:PATH_IN_THE_SERVER: C:/Test
2. i have also tried to give the command this way
Expand|Select|Wrap|Line Numbers
  1. scp -r USERNAME@SERVER_NAME:PATH_IN_THE_SERVER: My IP Address\sharedpath

This time it shows that 100% transferred but i could not see any file in the specified path
Sep 4 '12 #1
3 28223
sicarie
4,677 Expert Mod 4TB
I'm surprised it showed anything but an error - I don't use Putty to transfer files, I use WinSCP. If you use the 'Portable executables' link you can download WinSCP without installing it, then you connect in a similar fashion (host, user, password, protocol), and have a 'drag and drop' interface.

Otherwise Windows to Linux copying (or vice-versa) won't work without something like Samba or a network file server configured.
Sep 5 '12 #2
Luuk
1,047 Expert 1GB
you should use pscp.exe on your windows machine,
and not 'scp'

Expand|Select|Wrap|Line Numbers
  1. C:\temp\temp>pscp.exe -r luuk@192.168.178.250:* .
  2. Using keyboard-interactive authentication.
  3. Password:
  4.  
  5. .bashrc                   | 1 kB |   1.1 kB/s | ETA: 00:00:00 
  6. .......| 100%
Sep 29 '12 #3
Hello,

I think if it transfered successfully thus that means It was really in your local machine.

Since you can find your files, folders. You can remember anything related to it's name (as file name, folder name.. anything else) then find it

I think after finding you can get the right path to them

Hope it help
Oct 2 '12 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: dongdong | last post by:
I wrote as following: content=urllib2.urlopen("http://www.sdfagfa.org/asasg/a.zip").read() f=open("d:\\a.zip",'a+',1) f.writelines(content) the zip file has been download to my machine,but when...
2
by: jayadevi | last post by:
Hi all, I have to get IP of the local machine. For ex:Using machine A , i have connected to another server(machine) B, in machine B i am browsing one asp page which gets the IP address using the...
4
by: Abhi | last post by:
Hi All, I have a web service method which works fine when called from my local machine i.e. from localhost but when I publish the web services to a remote machine it throws an invalid cast soap...
0
by: subiparihar | last post by:
Hi guys, I m currently facing a problem , in copying a doc file to the web server from the local machine using c#. Pls suggest some Support. Thank You Subi
1
by: Mike P | last post by:
How do you allow users of a web app that for example select files from a grid view and then enable them to download the files to their local machine? *** Sent via Developersdex...
5
rajiv07
by: rajiv07 | last post by:
Hi experts, i want save a file in a local machine using saveas dialogue box.Is any idea.
3
by: ramesh.nrk | last post by:
Hi, Is there any way to read the cookies which are in local machine? Can we create cookies using windows Application in the local machine? I am developing a windows application which needs...
1
by: pambrose | last post by:
Hi Hope you can help. I run PHP on a remote Linux server. I want to include EXEC to run a batch file on my local Windows machine to copy some files, invoked from the remote server - can this...
3
by: subhashinivasan | last post by:
How to get version of the oracle installed in Local Machine using VB.NET. Please do reply at the earliest Thanks, Subha
4
by: supersav144 | last post by:
Hi there, i have a simple application which connects to a web service and then this web service creates a file on the machine which the application was accessed on... the problem i have though...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.