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

  • 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.

| 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

| 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.