31

Today I saw that Vista and Win7 (which I am using) have the option to map ftp natively, according to this article:

http://cybernetnews.com/cybernotes-map-a-ftp-to-a-drive-in-windows/

But I need to have sftp... does windows has the same function for sftp?? I'm using SSH secure shell, and assuming that the file transfer that they have is sftp.

Igor B.
  • 375
  • 1
  • 4
  • 7

9 Answers9

8

Setting up FTP is one thing.
But, supporting Secure FTP requires integrating a public key authentication mechanism into the system. Windows is not close to that yet (at least for mapping file systems). And, if any such thing is now supported in Windows 7, I'd like to know very much.

Meanwhile, freeSSHd is a very good tool for the purpose.
It also supports SFTP, though my favorite command through it is scp.

nik
  • 7,040
  • 2
  • 24
  • 30
  • 1
    Does this freeSShd allow me to create something like a mapped folder to an sftp server? – AntonioCS Jun 07 '10 at 22:39
  • @antoniocs, I strongly doubt it cannot. But, would like to know if it can be done now. – nik Jun 08 '10 at 00:52
  • 3
    I am afraid, it cannot. Also, over time it turned out to be badly unmaintained. BTW: [***STFP NetDrive***](http://www.eldos.com/sftp-net-drive/screenshots.php) by Eldos is distributed under a freeware license and offers drive mounting as requested by the OP. – the-wabbit Oct 06 '12 at 21:05
  • NetDrive does not work correctly with SSH. Don't use it. – Softlion Mar 22 '16 at 15:21
6

I don't think you can do that natively in windows, however here is a software corresponding to your needs: expandrive.
Hope this helps.

Maxwell
  • 5,026
  • 1
  • 25
  • 31
  • Yeah, sort of ... I was thinking something natively like the ftp, but don't think that there is (at least on Windows). – Igor B. Jun 25 '09 at 17:19
  • 1
    expandrive is sloooooooow and buggy when it comes down to permissions. I'd stay away from it. – LiraNuna Aug 12 '09 at 20:38
5

Swish is perfect for that. As simple as doubleclicking and set your drive : you're done !

It works perfectly on Win 7 32bits

ToXinE
  • 151
  • 1
  • 2
5

See this question on Serverfault:

Is there an open source tool to map SFTP connections as a Windows mapped drive?

splattne
  • 28,348
  • 19
  • 97
  • 147
  • 1
    Thanks, I commented on that question. But I was searching for some native tool, so I raised the question :) – Igor B. Jun 25 '09 at 17:16
2

I have found the WinSCP is a good windows solution for SFTP in windows. It is not a mapped drive but it does allow for drag and drop and has Putty integration. Check it out at http://winscp.net/

  • 2
    Your intention is good, but the OP specifically asked for a solution to create a network mapping via SFTP. – pauska Oct 06 '12 at 22:24
1

There's a very nice looking piece of software called Swish that may be just what the doctor ordered.

HopelessN00b
  • 53,385
  • 32
  • 133
  • 208
PHiZiX
  • 11
  • 1
1

djangofan has it pretty close.

You can set up port forwarding through SSH. You can also, if supported on the server, run an FTP server, but only accept connections from localhost. Otherwise, where's the security?

Then, suppose you even can only run the server FTP process in user space, and can't glob onto port 21. Ok, call it port 2121.

SSH into server, with PuTTY, for example, and set up local port forwarding from port 21 to server:2121 or even localhost:2121 if you bound only to 127.0.0.1 on the server FTP process.

Now your SSH program is listening on port 21 of your client (Windows) port 21, and forwarding that over SSH and asking for, e.g. localhost:2121 in the realm of the server environment.

Then, take David Spillett's answer, but use localhost as the server, assuming you're not already running some other FTP server at your host.

Windows Explorer should then open up ftp://localhost and you'll see the FTP process running on the server. I suspect that you will only be able to do PASV mode transfers.

Questions?

mpbloch
  • 962
  • 8
  • 14
0

Just try Moodisk. It's a Windows shell namespace extension, can map the sftp-server directory to a icon on your computer desktop. Moreover, it integrates into the mouse's right click Send To submenu.

Moodisk is a network drive, but you can download the client tool, and modify the file c:\windows\system32\drivers\etc\hosts, append the line below:

<your sftp-server's ip address> www.moodisk.com

Please note the tool linked there is no longer available on the official link.

yagmoth555
  • 16,300
  • 4
  • 26
  • 48
0

Windows doesn't have the SSH function but you can use Putty.exe to do that.

All you do is run Putty.exe telnet on port 22 to open a tunnel to the other machine assuming the FTP machine is serving as a SSH host. You create a proxy on a local port (using putty configuration) that routes you through the secure tunnel to the remote FTP ports 20+21. Then configure Windows 7 to map the FTP source as a drive (through the SSH tunnel)

I haven't tried this myself but I assume it would work: A mapped drive using Windows 7 and "secured using a Putty SSL tunnel"

djangofan
  • 4,172
  • 10
  • 45
  • 59