Download c file from unix






















Learn more. Ask Question. Asked 10 years, 6 months ago. Active 10 years, 6 months ago. Viewed 57k times. Improve this question. James James. Add a comment. Active Oldest Votes. You can use winscp. Improve this answer. Software Mechanic Software Mechanic 1 1 silver badge 14 14 bronze badges. Is there no built in command to do this, for example to copy a file I would do cp file. Is there no such default way of doing a download in Unix? It just seems like such a common task. But since you are using a windows client the command is not available.

James, for some reason, the ability to ssh to a server or scp a file is consistently missing from each version of Windows. James: i missed out the Cygwin option.

See Johan's answer — Software Mechanic. There's also SCP you could use to directly download the file. Wuffers Yab Yab 3, 1 1 gold badge 13 13 silver badges 12 12 bronze badges. Narayan Narayan 2 2 silver badges 8 8 bronze badges. Filezilla is also an OSS option. Then you can use scp in the same was as on your unix server.

Johan Johan 5, 3 3 gold badges 30 30 silver badges 52 52 bronze badges. If you want to pull it from your desk many possibilities are offered to you : WinScp: provides a GUI for directories browsing and copy over ssh scp copy pscp: Provided on the PuTTY site, it gives you a command line interface usable with cmd. M'vy M'vy 3, 1 1 gold badge 18 18 silver badges 20 20 bronze badges. Sign up or log in Sign up using Google. This method does assume that the Unix machine can see the Windows machine's fileshares through any firewall arrangements that may exist between them.

You can also do it the other way round and pull files from the Windows side instead of pushing from the Unix side. Have a look into tools like WinSCP which is a graphical tool for SCP file transfers giving you a choice between the Windows Explorer or Norton Commander look and feel, both of which should be intuitive to you.

Once logged in, you can navigate to the files of interest "the Windows way" and drag and drop them to wherever you want them. Use WinSCP tool. Works like a charm. It didn't like anything to do with C, so I dropped it, and it worked. Why not install Samba on the Unix box? Then you can map drives between the two systems. Alternatively, I would use psftp from the putty suite rather than the command-line scp, since you aren't familiar with it and apparently do not need to script it.

Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Learn more. Ask Question. Asked 11 years, 1 month ago. Active 4 years, 7 months ago. Viewed 80k times. Improve this question. Have you used Windows' search functionality to locate the file you copied? Maybe it is there but not in the location where you look? Add a comment. Active Oldest Votes. Improve this answer. RyNo 2 2 bronze badges. David Spillett David Spillett 23k 46 46 silver badges 65 65 bronze badges. Olfan Olfan 4 4 silver badges 10 10 bronze badges.

Vinay Sheshadri Vinay Sheshadri 2 2 bronze badges. I just did this, from a Linux server, to a Windows server, and verified it. Tim Tim 11 1 1 bronze badge. CarlF CarlF 8, 2 2 gold badges 23 23 silver badges 40 40 bronze badges. Samba is a big security risk.



0コメント

  • 1000 / 1000