Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
    
Yes, there's cp if you've got a shared mount. –  larsmans 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
add comment

migrated from stackoverflow.com Sep 22 '11 at 11:11

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

2 Answers

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 172.17.189.181:c:\ –  Sunil Sahoo Sep 22 '11 at 11:38
    
Hi i was tryed belo command in linux sheel# cp scr.sql 172.17.189.181:c:\ But the file is not comming to my c:\drive –  Sunil Sahoo Sep 22 '11 at 11:41
add comment

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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