Hello,

I have the following question ; I use API ‘wininet.dll’ to set up an ftp connection. I need to connect to various ftp servers in various countries. (like spain,england, turkey) With most countries, I can get an connection and transfer files, etc. Except for Turkey. They have a poor connection, and I don’t get a connection with my vb program. The strange thing is, when I use the program ‘windows commander v4.6’, I can get the connection… what am I doing wrong ? I already changed these settings
Public Const INTERNET_OPTION_CONNECT_RETRIES = 1
Public Const INTERNET_OPTION_CONNECT_TIMEOUT = 3
Public Const INTERNET_OPTION_RECIEVE_TIMEOUT = 7
But with bo result however…

The code I use to connect to the ftp server is
hConnection = InternetConnect(hOpen, "ftp-server", INTERNET_INVALID_PORT_NUMBER, "user", "password", INTERNET_SERVICE_FTP, dwSeman, 0)

Can someone give me some advice ?

thx