I have an FTP server setup on a custom port rather than port 21. Now I'm able to connect to it remotely using an IP and the new port set using FileZilla, which is set to passive mode. Everything works as expected in FileZilla, but when I try using the same credentials in Microsoft Visual Studio Community 2015, I get this error
Unable to retrieve folder information from the server. FTP Passive mode is not available.
If I turn the passive mode off, I get this error:
Unable to retrieve folder information from the server. Illegal PORT command (500).
My goal in all this is to quickly modify and upload the files on the server I change without having to go through FileZilla. The reason VS specific is for C++ development environment. Potentially I'm setting it up incorrect, but I've looked online and I've done File>Website and added the credentials there. Tried completed disabling my firewall, no luck. I know the port is good otherwise I wouldn't be able to connect via FileZilla. Just running out of ideas what to do as it works in one case but not the other. Any help is very much appreciated.
FileZilla log:
Status: Connecting to XXX.XXX.XXX.XXX:XXX...
Status: Connection established, waiting for welcome message...
Status: Insecure server, it does not support FTP over TLS.
Status: Server does not support non-ASCII characters.
Status: Logged in
Status: Retrieving directory listing...
Status: Server sent passive reply with unroutable address. Using server address instead.
Status: Directory listing of "/home/<USER>" successful