Script

FTP

The professional tool to automate FTP, SFTP, FTPS

and schedule FTP batch jobs

  • Home

  • FORUM INDEX
Post a message here if you find anything wrong in ScriptFTP.
 #15026  by johnhom
 17 Oct 2017, 15:28
I've been running ScriptFTP 3.3 for a while and upgraded to version 4.4 There seems to be a problem with the return codes for the newer version.

I tested ScriptFTP by using a batch job in order to get the return code. Please note that the only variable is the version of ScriptFTP.

Version 3.3 returns "1" (the file exists and ScriptFTP reports file found)
Version 4.4 returns "0" (the file exists and ScriptFTP reports file NOT found)
Attachments
Result log under ScriptFTP 4.4 (wrong return code)
(961 Bytes) Downloaded 12 times
Result log under ScriptFTP 3.3 (correct return code)
(837 Bytes) Downloaded 14 times
ScriptFTP script to test whether a file exists on a server (0=file does not exist, 1=file exists)
(568 Bytes) Downloaded 11 times
-->