 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
conejousa
Joined: 29 Aug 2019 Posts: 1 Country: United States |
|
FPTGetFile Error 32 |
|
When running the built in FTPGetFile comman in a script, on occasions we receive the following error:
An error occurred while executing automation script Line 3: Download failed for "". Unknown error occurred, error code 32.
is not a big file just 635KB
The form of my script is simple
////////////////////////////////////////////////////////////
FTPConfig( "TRANSFER MODE", "ASCII" )
FTPGetFile "mainframe", "user", "pw", "'xx.xxx.xxxxxxx(0)'", "e:\\trig\\tab\\xxxTBLE.TXT"
Exit
This does not occur all the time and I have not been able to find other log in my server to get a better diagnostic.
Has anyone seen this behavior before?
|
|
Thu Aug 29, 2019 10:59 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
FTP error code 32 means FTP couldn't use SIZE. The SIZE command failed. The command is an extension to the original FTP spec RFC 959.
Because it doesn't happen all the time, it's very likely a bad timing issue. My hypothesis is that the file is not the server is being written when you are trying to grab it, and that's why the SIZE query fails. I suggest adding an automatic retry to this job, for example after a few minutes. You can use job retry options for this purpose.
|
|
Fri Aug 30, 2019 2:22 am |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|