Troubleshooting TE Problems

High Memory Usage with the Transfer Engine

If you leave the Transfer Engine running for extended lengths of time, it may begin to consume large amounts of memory. Set the Transfer Engine to remove successful items from the queue to avoid this problem.

To remove successful items from the queue in a script

Use the TECommand method with the DELETEFINISHED or DELETEALL parameter.

No Timeout when Connecting to an Unavailable Host

If the Transfer Engine's Connection method refuses to timeout when connecting to a non-existing or temporarily unavailable host, try setting the throw error to true. The Connection method does not have a built-in timeout value. It will keep trying to connect indefinitely. Because the event is synchronous, subsequent lines in the script, including conditional statements for determining the connection status of the TE, never get called.

Examples:

A few possible workarounds, and help for accepting and rejecting certificates:

  • MySite.Option("AutoCloseMethod") = 2 '1 - auto accept, 2 - auto reject, 0 - default no auto

  • MySite.Option("AutoCloseDelay") = 12 ' default value is 60 sec

  • Set Option("AutoCloseMethod") property to 1 or 2 in order for script can continue its processing:

  • MySite.Option("AutoCloseMethod") = 1 will auto accept cert and continue

  • MySite.Option("AutoCloseMethod") = 2 will auto reject cert and finish with error

  • MySite.Option("AutoCloseMethod") = 0 default: will not close prompt on timeout

My Scheduled Scripts No Longer Run while not Logged In

If you have installed the Security Update for Microsoft Data Access Components (MDAC) Security Patch MS03-033 you may have problems using scripts to connect to secure sites.

You can get your scripts to work again by moving your certificate file. The CuteFTP certificate files generally reside in a specific user's folder, like: C:\Documents and Settings\jsmith\Application Data\Globalscape\CuteFTP\Security\certs.crt.

Move the certs.crt file to the Default User Folder. For example; C:\Documents and Settings\Default User\Application Data\Globalscape\CuteFTP\Security\certs.crt, and your scripts should now work.

The file name for Security Patch MS03-033 is Q823718_MDAC_SecurityPatch.exe.

Scripting Technical Support

Due to the wide range of scripts that CuteFTP is able to accommodate, we are unable to offer technical support on individual scripts other than what is available in the help files and online Knowledge Base.

If you are having trouble with your script, try to perform the desired action manually, using the CuteFTP interface. If you cannot, then troubleshoot that problem first, then retry your script.

If you are able to perform the desired actions in the desired sequence from within CuteFTP, then the problem is not with CuteFTP or the FTP Server. The next thing to do is to troubleshoot your script line by line.