|
Hello Terry, > I'm using Scott Klement's FTP API's and am having a problem. I'm trying > to send XML files from an IFS directory to a Windows 2000 server. I wrote > a program to function as an MPUT clone. I log into the FTP server on the > Win2K box as administrator, retrieve a list of files in a directory on the > IFS, and issue a PUT for each one (Using the ftp_put procedure). > > The program is hanging on the put instruction, and I stepped into the code > a little deeper and found that the actual statement where it is hanging is > on a select() statement in the recv_line subprocedure. I know you can > specify a timeout value as a parm to the select() procedure, but the way > it's wrapped in Scott's procedure, it defaults to *NULL. This question is more appropriate for the FTPAPI mailing list, http://www.scottklement.com/ftpapi/ftpapilist.html One quick tip, though... the IBM FTP client defaults to passive mode, whereas FTPAPI defaults to standard mode. You might try enabling passive mode with callp FTP_passiv(*ON) to see if that helps. Please send any followups to the FTPAPI mailing list. Thanks!
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.