Problem:

Getting an FTP error (22049) from WinSpool/400 Report Download when downloading a report.
 
The log showed:
 
Exception encountered for FTP exit program GSCCAS@R in library SMZ8SYS for exit point .

Solution:

Remove the QIBM_QTMF_SERVER_REQ exit point program:
  1. Use the WRKREGINF command to find exit point QIBM_QTMF_SERVER_REQ.
  2. Select option 8 on it.
  3. Remove the exit point program. 

Use the same instructions to remove the other two FTP exit points:

QIBM_QTMF_CLIENT_REQ 
QIBM_QTMF_SVR_LOGON  
 
After removing the exit points, end and restart the FTP server with the following commands:
 
ENDTCPSVR *FTP
STRTCPSVR *FTP
 
Note: The 22049 error means that FTP couldn't find the file to download. The error was being caused because the required temp file wasn't getting created corrrectly on the AS/400, so the download failed. 
 
Still have questions? We can help. Submit a case to technical support

Last Modified On:
You don't have the appropriate permissions.
No, open a new Support Case