FtpDLX - Subsesquent ListDir Commands - WeOnlyDo Discussion board

FtpDLX - Subsesquent ListDir Commands (General questions)

by Daniel.Dority, Wednesday, April 16, 2014, 18:24 (3634 days ago) @ wodSupport

This is slowly making sense.

My mindset here was to replicate the default behavior. For instance:

1. FtpDLX connects to my FTP Server.
2. Remote path was defaulted to "/users/0098".
3. ListDir is called with "edit/".
4. Items are returned.

5. ListDir is called with "edit/" again.
6. Zero items are returned.

On step 5 and 6 makes me think that in order to get this to work, I need to setup the perfrom the action from step 2.. Which is to set to the Remote Path back to "/users/0098". But as I now know, this doesn't work.

If there is a way to reset the path back to the default value from when the component first connected then that would be awesome. It would allow me to fix this issue across my wrapper in one place, as opposed to every method call I wrapped the component around.

Otherwise I'll use the method you provided.


Complete thread: