FTP external storage


Having an issue publishing an FTP mount point as external storage in OC 10.0.10 (newly deployed community server).

In the log I see message "Cannot connect to Error 111. Connection refused

However our server (IIS) is (at the moment ?) not listening on port 22 (which is SSH ?) but only 21.

Should I “simply” make it listen there ?

you could try :slight_smile:

Are you sure the FTP server is configured directly?

Are you sure the FTP server is configured directly?

Not sure what you mean here. They both sit within the LAN (no NAT traversal issue).

You are quite right - let’s test it…

OC side I get

Exception: {\"Exception\":\"Exception\",\"Message\":\"Login failed\"

FTP server shows

2018-11-30 11:02:47 - 22 ControlChannelOpened - - 0 0 58363854-4ab6-4475-8e13-804540ff67a7 -
2018-11-30 11:02:47 - 22 SSH-2.0-phpseclib_2.0 (openssl,+gmp) 500 87 0 58363854-4ab6-4475-8e13-804540ff67a7 -
2018-11-30 11:02:57 - 22 ControlChannelClosed - - 0 0 58363854-4ab6-4475-8e13-804540ff67a7 -

Yes, credentials are correct. That being said I can connect using WinSCP + FTP but not via WnSCP + SFTP… I guess I will have to dig into this.

If anyone managed to connect an IIS hosted FTP folder in OC I am all ears :slight_smile:

sorry, I meant correctly not directly :smiley:


could it be possible that you’re mixing FTP/FTPS with SFTP? From what i know those are different protocols. The first are using port 21 where the latter is using 22.

You are in fact quite correct.

OC supports SFTP - which is in essence SSH - not much to do with FTP. In any case IIS will not be of help here.

why not just use samba share?

Because I can’t seem to have it working: External storage / SMB share redux :frowning: