Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

For example, there is a file I do not want to download the file, then upload it to my server. Is it possible to access the server, then tell it to get to a dir in the server? It the server runs on CentOS, and locally, I'm in windows. Is that possible? If so how?

share|improve this question

SSH to the Centos server and use wget to download the file?

Depends on what access you have to the Centos server - if your access is limited you might be able to map a drive through windows (if the server has SMB configured), but behind the scenes this will still copy the file via your machine and then upload to the server which may not be what you want (for instance if you are on a low bandwidth link, but the server has plenty then you would want to download directly to the server)

share|improve this answer

Jon is correct with wget. The following command will get your file for you directly from the web to the CentOS server:


If you don't have wget installed and have permissions to install applications on the server:

yum install wget
share|improve this answer

Map a drive to the target server and select it as the location for the download when prompted.

share|improve this answer
that still incurs the intermediate download location of the local machine – warren Jun 28 '11 at 3:50

Your Answer


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.