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 here if you experience file transfer problems or unexpected errors.
As you can see from the script output we are getting some errors when trying to upload a file to an external FTP server. This issue has only started to occur since yesterday. Please note that this only seems to happen when the script is run automatically (1st and 3rd attempt). However if run manually (2nd and 4th attempt) a few minutes later it works ok. Any assistance would be appreciated.

Thanks,
OPENHOST("ftp.domain.com","xxx_xx",******)
Connecting to ftp.domain.com
Connected.

PUTFILE("\\pathname\filename.csv")
Uploading................. filename.csv
***** PUTFILE Error #16023: Connection closed.

CLOSEHOST
***** CLOSEHOST Error #18001: Not connected.
OPENHOST("ftp.domain.com","xxx_xx",******)
Connecting to ftp.domain.com
Connected.

PUTFILE("\\pathname\filename.csv")
Uploading................. filename.csv

CLOSEHOST
Disconnected.
OPENHOST("ftp.domain.com","xxx_xx",******)
Connecting to ftp.domain.com
Connected.

PUTFILE("\\pathname\filename.csv")
Uploading................. filename.csv
***** PUTFILE Error #4: Cannot upload local file currency_reuters.csv. Connection timeout.

CLOSEHOST
***** CLOSEHOST Error #18001: Not connected.
OPENHOST("ftp.domain.com","xxx_xx",******)
Connecting to ftp.domain.com
Connected.

PUTFILE("\\pathname\filename.csv")
Uploading................. filename.csv

CLOSEHOST
Disconnected.
The problem is a bit strange. It seems to be a firewall problem but cannot be more specific unless you send me the script output with the verbose mode enabled. You can do so putting VERBOSE(ON) on the top of your script file.

Note that also, scheduled tasks (like ScriptFTP scripts or anything you schedule in windows) are sometimes run on a different user account (check the windows task manager while ScriptFTP is running as a scheduled task), and permissions (and sometimes firewall permissions) change between users.
Just to let you know the problem was due to the ftp server running out of disk space.
Thanks for the feedback :)