When using FILENAME FTP with the DEBUG parameter, the following notes typically occur after the data moves and the FTP data connection closes:
When you use FILENAME FTP with transport layer security (TLS) in PASSIVE mode, the SAS task might become unresponsive after the complete data moves because the FTP data connection does not close. The task might also fail with the following message if your site has a network time-out in place:
Another issue can occur where the SAS task might stop responding after you move the file because the FTP data connection does not close.
A possible workaround for this issue is to add the WAIT_MILLISECONDS=<value> parameter to the FILENAME FTP statement.