Navigate to Directory - WeOnlyDo Discussion board

Navigate to Directory (wodFtpDLX / wodFtpDLX.NET)

by Anita, Tuesday, January 07, 2014, 17:56 (3756 days ago)

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

by wodDrazen, Tuesday, January 07, 2014, 18:04 (3756 days ago) @ Anita

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

by Anita, Tuesday, January 07, 2014, 18:29 (3756 days ago) @ wodDrazen

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

by wodDrazen, Tuesday, January 07, 2014, 18:35 (3756 days ago) @ Anita

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 ===----------