|| | |||Browse by category|
My RWIFtpClient sometimes hangs, crashes, or does not respond correctly to my commands.
The most common reason for this random behavior is the use of the
dataClose()method at the end of the FTP command you are using.
When using the RWIFtpClient methods, you must call the dataClose() method to ensure the thread returns before the calling thread exits. In order to ensure the correct results, the dataClose() method must be assigned to an object whose return value is of the type that RWIOUResult
For example, if the RWIFtpClient's
dataClose() member returns an RWIOUResult
RWIFtpReply reply = client.dataClose();not this:
Failing to assign the dataClose method to the proper object may result in unexpected behavior.
This requirement is documented in the Tools.h++ Professional User's Guide in section 32.4.