21

I know there are many commercial products that accomplish this task, but I'm looking for something like SSHFS but for Windows systems, which is open source.

WinSCP FAQ points to the the KeepUpTODate feature, which can be used as a workaround, but it's not exactly like a mapped drive, although it's close.

splattne
  • 28,348
  • 19
  • 97
  • 147
Tom Feiner
  • 16,758
  • 8
  • 29
  • 24

14 Answers14

9

Have you tried Swish?

With Swish you can access the files and folders you have stored on another computer securely via SFTP. Swish is a Windows Explorer extension but it clearly states on this page that it can't map drives. It is under GPL open source license.

Dan Dascalescu
  • 590
  • 1
  • 9
  • 21
Lee Chee Kiam
  • 191
  • 2
  • 4
  • can anyone comment on how swish worked for them? – Bozojoe Mar 08 '11 at 18:27
  • 1
    Swish is about 70% of the way to being an incredibly useful tool, and I'm very hopeful about its future. Unfortunately, it's not there yet. For starters, I haven't yet found a way to map a network drive, so there's no way to access mounted locations from regular windows apps. Also, there is no way (that I can see) to use key-based authentication. Documentation is basically non-existent, so even if these features *are* currently possible, there's no way to discover them. – Brian Lacy Nov 07 '11 at 22:01
  • [Swish states clearly that you can't map a drive](http://www.swish-sftp.org/wiki/FAQ) with it. – Dan Dascalescu Feb 19 '14 at 11:28
7

If anyone is interested, we offer free SFTP Net Drive application for exactly this purpose. It's not open-source (as it uses commercial components), but completely free.

Update: source code of SFTP Net Drive is included as one of sample projects with our Callback File System product.

7

The standard choice is ExpanDrive (formerly SftpDrive), which is neither OSS, nor free ($39 for full version).

I haven't yet found mature OSS alternative.

vartec
  • 6,137
  • 2
  • 32
  • 49
3

I had this question today as well, and came across this good article, telling about 2 programs mentioned, SftpDrive and Webdrive:

http://systembash.com/content/map-drive-letter-sftp-ssh-review/

Igor B.
  • 375
  • 1
  • 4
  • 7
3

Using SSH port forwarding, an FTP server running on the remote end accepting only local connections, and native Windows FTP mapping,

You could try what I suggested here. This is FTP over SSH, mind you. It may not be what you asked for specifically by name, but it might meet your use case.

mpbloch
  • 962
  • 8
  • 14
3

The only opensource project I know of that does this Dokan SSHFS, whichs is basically FUSE for windows. My experiences with it aren't very positive, though (very unstable).

I now use ExpanDrive, which, unfortunately, isn't free or open source. It does work though ;)

Sietse
  • 497
  • 5
  • 13
2

Best solution nowadays is to use free tool SFTP Net Drive provided by Eldos. We are successfully using it within our supercomputing clusters and it work fine. We wanted to get rid of Samba.

mgorven
  • 30,036
  • 7
  • 76
  • 121
  • [Same answer as the one from the Eldos representative](http://serverfault.com/a/265368/69936). Might want to comment on that one instead? – Dan Dascalescu Feb 19 '14 at 11:32
1

Win-SSHFS Based on Dokan, but with a few improvements and easier installation. Performance is very good, and the code is easy to understand for a C# developer.

A reboot is officially required after installing, but Win-SSHFS worked without rebooting. Beware of data loss on writes - see this Google Code issue.

Dan Dascalescu
  • 590
  • 1
  • 9
  • 21
  • Note that [win-sshfs may cause data loss](https://code.google.com/p/win-sshfs/issues/detail?id=93&thanks=93&ts=1392810059) with certain applications. The link points to an issue with files being truncated to zero bytes. On the plus side, it supports key pair authentication and installation is simple. – Dan Dascalescu Feb 19 '14 at 11:56
0

The only freeware tool I found that can map files accessed via SFTP to a Windows drive is Red Drive.

It's no longer developed, and the "replacement", AnyClient, doesn't do drive mapping. There is also a bogus error when you create a connection - Recovery policy configured for this system contains invalid recovery certificate. Other than that, it worked with one SFTP server and failed authenticating me to another one.

0

Found a valid installer download link for RedDrive:

http://www.brothersoft.com/red-drive-file-transfer-extension-download-164269.html

In Win7 x64, I had to run the MSI in "Older Windows Compatibility" mode to get it to install (it is not an EXE so you can not pick an OS or Run as Admin).

Hope this helps!

Troy
  • 1
  • 1
    Thanks! However, already the 1st file I tried to read showed up empty. For me, no grounds to continue. And others have reported problems, too :-( – xebeche Feb 09 '11 at 13:12
0

As a perhaps overly complicated solution, if you have a Linux box on the local network (or a Linux VM running on the machine you want to connect to the SFTP resource with) you could try mount the resource using SSHFS on that machine and share the resulting filesystem to the Windows box via Samba...

David Spillett
  • 22,534
  • 42
  • 66
0

I got here from another recent question.

Take a look at freeSSHd (it also supports FTP and, of course lets you SCP too).
Unfortunately it is not open-source. However, its quite good.

nik
  • 7,040
  • 2
  • 24
  • 30
0

Try RedDrive. It's not actively developed anymore (since '08), but it's (apparently) free.

Seth
  • 646
  • 2
  • 6
  • 17
-1

Ftpdrive.
Not an open source, but a free tool, so you may want to check it out.

Works perfectly for plain FTP. I have not used it for SFTP but on the homepage the developer claims "Both unsecured and secured by SSL/TLS FTP connections supported".

axk
  • 267
  • 1
  • 6
  • 14
  • 2
    Thanks for the answer, but unfortunately, FTP + SSL/TLS is not the same as SFTP, this will not work against an SSH/SFTP server, and ,as you said is not open source - so there's no way to know what's in the binary. – Tom Feiner May 16 '09 at 17:59