fiddyschmitt / File-Tunnel

Tunnel TCP connections through a file
MIT License
579 stars 36 forks source link

FTP support? #12

Open watthefak opened 3 days ago

watthefak commented 3 days ago

I found a way to mount FTP as a local drive by using https://www.ferrobackup.com/map-ftp-as-disk.html Unfortunately, File-Tunnel cannot open those files.

fiddyschmitt commented 3 days ago

Thanks for reporting this Watt! You're right, it doesn't work.

Files created using ftpuse don't seem to support setting the file's length on demand, nor writing to specific file positions. Both of which are required for File Tunnel to work.

In the future I'll add a new mode to File Tunnel, so that it does simple file writes and file reads. This way it will work through FTPs.

Thanks again :) Fidel