Script

FTP

The professional tool to automate FTP, SFTP, FTPS

and schedule FTP batch jobs

MENU MENU
Post here if you experience file transfer problems or unexpected errors.
I am receiving this error intermittently. There is plenty of hard drive space on both servers. Resources on both serves look good. Any ideas?

--------------------------------------------
Microsoft Visual C++ Runtime Library
"Runtime Error!"
Program: c:\program files (x86)\scriptftp\scriptftp.exe
R6016
-not enough space for thread data
--------------------------------------------
My script below runs every 30min 24/7, but the error occurs intermittently.

:connect
# Connect to FTP server
OPENHOST("108.172.28.230","user1","*******")
SETPASSIVE(DISABLED)

$result=SYNC("c:\db_archives","/webservers/db_backups",DOWNLOAD,SUBDIRS,"*.*")
# Check if $result is different from "OK"
IF($result!="OK")
PRINT("Cannot complete the synchronization! Trying again.")
GOTO :connect
END IF
CLOSEHOST