FtpDLX - Subsesquent ListDir Commands (General questions)
Hi,
When I first connect with the software, the remote path is set to something like:
"/users/0098"
I call the ListDir method and pass in a folder name of "edit/". This changes the remote path to "edit/", not "/users/0098/edit/" but I still get the files I need. This works great.
Reusing the same open connection, I perform downloads and uploads. To check to ensure the files are uploading correctly, I perform another ListDir command and pass in the "edit/" again. This time around I get a Folder not found exception and DirItems contains zero items.
- If I change my parameter to "/edit/" from "edit/" then I immediately get a folder not found exception. Even on the first run.
- The "/users/0098" folder is set by default after a successful connection.
- I think it is concatenating the remote paths. Using "edit/edit/" instead of just "edit/".
I don't know how to set the report path back to the parent directory. Setting the Remote Path explicitly back to "/users/0098" then calling ListDir("edit/") will fail on the second attempt.
If I disconnect, then connect after each command it works.
What gives?
Complete thread:
- FtpDLX - Subsesquent ListDir Commands - Daniel.Dority, 2014-04-16, 18:01
- FtpDLX - Subsesquent ListDir Commands - wodSupport, 2014-04-16, 18:04
- FtpDLX - Subsesquent ListDir Commands - Daniel.Dority, 2014-04-16, 18:15
- FtpDLX - Subsesquent ListDir Commands - wodSupport, 2014-04-16, 18:18
- FtpDLX - Subsesquent ListDir Commands - Daniel.Dority, 2014-04-16, 18:24
- FtpDLX - Subsesquent ListDir Commands - wodSupport, 2014-04-16, 18:27
- FtpDLX - Subsesquent ListDir Commands - Daniel.Dority, 2014-04-16, 18:29
- FtpDLX - Subsesquent ListDir Commands - wodSupport, 2014-04-16, 18:27
- FtpDLX - Subsesquent ListDir Commands - Daniel.Dority, 2014-04-16, 18:24
- FtpDLX - Subsesquent ListDir Commands - wodSupport, 2014-04-16, 18:18
- FtpDLX - Subsesquent ListDir Commands - Daniel.Dority, 2014-04-16, 18:15
- FtpDLX - Subsesquent ListDir Commands - wodSupport, 2014-04-16, 18:04