We've been experiencing problems with a script that works flawlessly when run from the GUI, but fails when run via ScriptFTP_console.exe. Our current version is a fully licensed 3.2.
The problem appears to be GETFILE(). When run via the console, it will return "OK" even when the file has not been completely downloaded. It returned "OK" after a minute on a 700Mb file. Running the same script (successfully) via the GUI took 25 minutes to download the file. Checking remote and local file sizes confirmed this and attempting a RENAMEFILE() on the file (same script) after GETFILE() returned "OK" returned the error:
The problem appears to be GETFILE(). When run via the console, it will return "OK" even when the file has not been completely downloaded. It returned "OK" after a minute on a 700Mb file. Running the same script (successfully) via the GUI took 25 minutes to download the file. Checking remote and local file sizes confirmed this and attempting a RENAMEFILE() on the file (same script) after GETFILE() returned "OK" returned the error:
***** RENAMEFILE Error #550: Cannot rename remote file x.x to x.x.bakThanks for any help in advance.
***** The server said: x.x.bak: The process cannot access the file because it is being used by another process.
Hi UnMonkey,
Could you try upgrading to version 3.3 and report if the problem persists?
Does the RENAMEFILE error happens also with the GUI version of ScriptFTP?
Thanks.
Could you try upgrading to version 3.3 and report if the problem persists?
Does the RENAMEFILE error happens also with the GUI version of ScriptFTP?
Thanks.
liked Script FTP? Try our other product Email Parser