FtpDLX - Subsesquent ListDir Commands - WeOnlyDo Discussion board

FtpDLX - Subsesquent ListDir Commands (General questions)

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

Daniel,

yes, there is a way. First forget about "being in some path" completely, since wodFtpDLX doesn't know about relative paths. It always assumes you provided full absolute path, so it doesn't make a difference where it is currently is.

So, when you connect use your own variable

m_RemotePath = FtpDLX.RemotePath

and don't change m_RemotePath after that. In all subsequent calls, add

ListDir m_RemotePath + "edit/"
or
ListDir m_RemtoePath + "something_else/"

etc.. That way you always refer to your folders relative from m_RemotePath that contains your home folder path.

Kreso


Complete thread: