Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to copy my DBServer (LINUX) to Desktop . i can access the same from putty. but i dont want to use a third party tool. Is there any Command in Unix or linux to copy a file direct from Linux to Windows.

I want to copy a file from unix without using any third party tool. like winscp, Xftp

share|improve this question

migrated from Sep 22 '11 at 11:11

This question came from our site for professional and enthusiast programmers.

Yes, there's cp if you've got a shared mount. – Fred Foo Sep 22 '11 at 11:11
Linux to Windows where? Two different computers? Virtual machines? On the same hard drive? – slhck Sep 22 '11 at 11:35

You don't have to use ftp programs or software. A simple copy command

    cp filename1 destination/of/file2/filename2

and you are done. If you mean from a virtual machine or something that is a different story. In that case we need to know what setup you run.

share|improve this answer
Hi i was tryed belo command in linux sheel#cp scr.sql\ – Sunil Sahoo Sep 22 '11 at 11:38
Hi i was tryed belo command in linux sheel# cp scr.sql\ But the file is not comming to my c:\drive – Sunil Sahoo Sep 22 '11 at 11:41

Share a windows folder and then mount it over the network using samba. If you have gnome, or KDE you will have a network bro

share|improve this answer
I don't have GUI access i want this to my desktop to a Linux Server . i did this using winscp but how to do this with third party tool. i used CP filename ipofDesktop:c:\sunil but the file is not showing in the sunil shared folder..... – Sunil Sahoo Sep 22 '11 at 12:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .