InDesign CS6 Socket FTP connection
In my scripts I need to upload generated images by InDesign (CS6) to FTP server. To connect to FTP I'm using Sockets. However I stumble on a problem. Whenever I try to make connection to that server it does connect but for any of commands (e.g. USER) send through the sockets once the initial connection is made the response is just empty string for minutes if not hours (I stopped waiting after few minutes since it's already way to long to wait).
The weird thing in this is that when I'm checking same credentials in apps like FileZilla all works fine - connection is made, server responding. Also if I use same code to connect to another server (only changes are in server name and credentials) it also works fine.
What could be the reason for such behavior? I'll add that the server that I'm trying to connect is within netcup.net subdomains.
