I just created an SFTP file server using tutorial https://www.digitalocean.com/community/tutorials/how-to-enable-sftp-without-shell-access-on-ubuntu-16-04

Now I want to share the files to the third party so that they can download them using the username and password. The problem is that I don't know the URL for my FTP/SFTP site because I am very new to FTP.

I can see the URL on the FileZilla as sftp://dilipyadav@myhost.com. When I hit this URL on the browser, this doesn't open the FTP file directory.

What should be the URL that will point to my FTP file directory?

  • more than likely, the IP or name of your host will suffice. Is "myhost.com" a placeholder? – YetAnotherRandomUser Aug 27 at 14:16
  • @YetAnotherRandomUser nope it's just an example host. – theone1one Aug 27 at 18:15
  • if it's an example, then how is it not a placeholder? Try using the actual value (name or IP) to connect to the FTP server with something like FileZilla and see what happens. – YetAnotherRandomUser Aug 27 at 18:19
  • @YetAnotherRandomUser OP can connect with FileZilla. I do not see where you are heading. – Martin Prikryl Aug 28 at 6:17
  • I was implying that the OP should try try connecting to the FTP server with filezilla from another machine using the actual information that he just pointed out; whatever is in place of "myhost.com". FileZilla is my go-to client, so I'm more familiar with it than WinSCP, and often use it interchangeably with "FTP client", especially when teaching someone FTP. – YetAnotherRandomUser Aug 28 at 13:46

SFTP and FTP are two completely different and incompatible protocols. Do not mix those two.

No major web browser support SFTP (at least not without any addin).

The "third party" need to use a proper SFTP client.

Some SFTP clients can register to handle sftp:// URLs. You will then be able to paste SFTP file URL to a web browser and the browser will open the SFTP client to download the file.

For example WinSCP does register for handling of sftp:// URLs. (I'm the author of WinSCP)

FileZilla does not.

  • 1
    Yes, we can not browse SFTP URL on the browser. The web browser only supports FTP. So I have set up an FTP server with username and password. I can now share the FTP URL to the third party. – theone1one Sep 3 at 14:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.