ftp automation

ScriptFTP

The professional tool to automate FTP, SFTP, FTPS and schedule FTP batch jobs

The forum is now read only. Please, go to the the main ScriptFTP website if you need help.
Post a message here if you find anything wrong in ScriptFTP.
ScriptFTP 3.4 Build 25/01/2010
FTP Script
  1. :connect
  2. $aUser = ""
  3. $aPassword = ""
  4. PRINT(GETDATE(FORMAT1))
  5. IF(OPENHOST($aHost, $aUser, $aPassword) != "OK")
  6.   $aUser = "KES\Recon"
  7.   $aPassword = "123"
  8.   IF(OPENHOST($aHost, $aUser, $aPassword) != "OK")
  9.     $aExitCode = 2
  10.     GOTO :end
  11.   END IF
  12.  
In log file:
OPENHOST("podst-01-zakr.smes.crimea.energy.gov.ua")
Connecting to podst-01-zakr.smes.crimea.energy.gov.ua as anonymous
Resolving host name "podst-01-zakr.smes.crimea.energy.gov.ua"
Connecting to 10.5.24.1 Port: 21
Connected to podst-01-zakr.smes.crimea.energy.gov.ua.
220 Microsoft FTP Service
USER anonymous
331 Password required for anonymous.
PASS scriptftp@nodomain.com
530 User anonymous cannot log in.
***** OPENHOST Error #17530: Cannot login on remote host
***** The server said: User anonymous cannot log in.
QUIT
221
Client closed the connection.

OPENHOST("podst-01-zakr.smes.crimea.energy.gov.ua","KES\Recon",******)
Connecting to podst-01-zakr.smes.crimea.energy.gov.ua
Resolving host name "podst-01-zakr.smes.crimea.energy.gov.ua"
Connecting to 10.5.24.1 Port: 21
Connected to podst-01-zakr.smes.crimea.energy.gov.ua.
Timeout (90s).
Client closed the connection.
***** OPENHOST Error #16004: Operation timed out.
The login and the password correct, a server is accessible
It seems to me that this problem is not because of ScriptFTP. The FTP server does not allow anonymous access, this is the reason of the first error. The second errorr, when ScriptFTP tries to connect again, is probably because the FTP server, for security reasons, has included the IP of the computer where ScriptFTP is running in some kind of black list.

This is what it seems to me, but I could be wrong.
I inserted a delay between attempts - is useless. Besides, from the same computer I come into the same time other client ftp on the given server without problems. Even feigned the same situation with a login and the password - starts up at once as soon as I will enter a correct login and the password irrespective of number of unsuccessful attempts. ftp a server - standard iis on Windows XP SP3 pro + all hotfix. Excuse for my English, I use the translator.
...