Navigate to Directory (wodFtpDLX / wodFtpDLX.NET)
Once I connect to the server, I would like the gui interface to automatically access a specific directory. For example, on the ftp server there are multiple folders in the home directory. Upon connection, the gui displays the home directory. However, I would like it automatically navigate to a folder titled 'Ship Notices'. The next time I connect, I may want it to automatically connect to a folder titled 'Invoices'.
I was hoping after the connected event was done, I could put in code to change directories, but I can't find any methods or commands to do this. Can somebody tell me if this can be done and how?
Navigate to Directory
Hi Anita,
Yes of course you can do that using wodFtpDLX RemotePath Property.
Here is example:
---------------------------------
wodFtpDLX1.RemotePath = "/home/something/your_folder"
---------------------------------
you can add this code inside wodFtpDLX Connected Event.
More help for RemotePath Property you can find here:
http://www.weonlydo.com/FtpDLX/Help/wodFtpDLX-RemotePath.html
Let us know how it goes.
Regards,
Drazen
--
_________________________________________________
WeOnlyDo! Software - Internet Security Components
----------=== http://www.weonlydo.com ===----------
Navigate to Directory
Thank You! That worked. I was setting the remotepath property prior to connection. When it connected it only stayed on the home directory. Once I put this in the connected event, the gui changed to my remotepath.
Thanks again.
Navigate to Directory
Anita,
Excellent! We are happy to hear such a good news. If you find some problem please don't hesitate to ask. We are here to help you.
Drazen
--
_________________________________________________
WeOnlyDo! Software - Internet Security Components
----------=== http://www.weonlydo.com ===----------