Nginx – FTP/SFTP & Fuse web passthrough without using the web server’s bandwidth

file-transferftpfusenginxpassthrough

I'd like to serve files mounted from a remote file store using ftp/sftp using fuse on my web server without using the web server's bandwidth.

The goal is to have the web server transparently serve the files to the user without providing them the original ftp information, so ftp://user:pass@example.com won't do.

Is it possible for nginx (or apache if I must) "bounce" the data to the user without using the server's bandwidth?

Any thoughts or suggestions are appreciated.

Thanks.

Best Answer

No it is not possible. If you want the client to retrieve it directly they must have a direct link. If you want to hide source then your web server will basically have to act like a proxy.