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 have a directory on my server at

/home/dave/www/images/site (ext3)

which I want to mount directly to my Windows computer so that I can transfer data easily via command line tool. Is that something possible?

share|improve this question

migrated from stackoverflow.com Jan 21 '11 at 0:28

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

1  
Is this server located in your "local" network or across the internet? – middaparka Jan 20 '11 at 23:55
up vote 0 down vote accepted

If the server is local, you may want to look into creating Samba shares, which will behave exactly like a standard Windows share if configured correctly.

FTP and SCP also come to mind. If this server will be reached across the internet, I would highly recommend SCP.

WinSCP has a great command-line utility, as well as a corresponding graphical version.

share|improve this answer
    
Thanks man WinSCP looks like will do the trick. Putty was an option but WinSCP does the job well too. – Chirag Jan 22 '11 at 4:03

If the server is located within your "local" network (i.e: not across the internet) it might actually be considerably less hassle to set up a SMB (i.e.: Windows) share on the Linux server and let your Windows box access it in that manner.

Depending on your server configuration, if may already have the necessary software (Samba) installed - check your package manager for more details.

share|improve this answer

Check out these links on using Samba:

Install Samba Server on Ubuntu

Configuring SAMBA

The Unofficial Samba HOWTO

share|improve this answer

Another approach would be scp/sftp. If you have an SSH server running on the Linux machine you can use scp/sftp tools to transfer files (such as putty - http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html):

C:\> pscp image.gif dave@linuxhost:www/images/site
share|improve this answer

You must log in to answer this question.

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