FTP Send File Error 22016 occured while sending file
From Support
| | If you have a question or seek clarification, please call Technical Support. |
[edit]
Problem:
The following error occured when trying to respool a report back to an output queue.
Products being used:
- WinSpool/400 Electronic Print Server
- FormDocs
Message Box
FTP Send File Error 22016 occured while sending file.
Log File
Error -9997 - Occured while spooling file to AS/400 output queue XXXX
[edit]
Solution:
Verify how long its taking to convert the report on the server side.
If its taking longer then what the FTP Inactivity Timeout value is set to, then change the Inactivity Timeout value to an appropriate time.
Prompt of the following command to view the Inactivity Timeout value:
CHGFTPA
Example: Inactivity Timeout value = 1 hour
CHGFTPA INACTTIMO(3600)
After changing the Inactivity Timeout value, the FTP service on the AS/400 must be restarted.
End the FTP Service
ENDTCPSVR SERVER(*FTP)
Start the FTP Service
STRTCPSVR SERVER(*FTP)
