Archived Forum Post

Index of archived forum posts

Question:

ChangeRemoteDir fails

Dec 13 '12 at 09:27

Hi,

Using the trial version of FTP2. I am managing to connect and get root XML listing. 1. Txt listing failed. 2. ChangeDirectory is always failing.

What is the syntax of the path to be sent to the method? Why is txt listing not working? What am I doing wrong?...

Thanks.


Answer

Examine the contents of the FTP2 object instance's LastErrorText property after the failed method call. It will contain information about the error.


Answer

Got it - I was trying to change to a directory that wasn't there (removed by admin without me knowing)

now it works! 10x