Archived Forum Post

Index of archived forum posts


Upgrading from to - ftp2 GetRemoteFileTextData() behavior changed.

Aug 19 '14 at 11:30

I recently performed an update from to and I noticed that the behavior of GetRemoteFileTextData changed. In the former version, the method returned right away with an empty string (or null I can't remember off the top of my head) if the file doesn't exist. The latter version waits for the timeout duration before returning. This is easily worked around by testing that the file exists with GetSizeByName().

I looked through the release notes and did see documentation of this api behavior change and it worries me that something else could exist that I haven't caught in my testing. Do you keep a record of API changes with each major release?