User.CurrentPath (wodFTPServer)
How do I find the current user path?
How do I find the current user path?
by wodDrazen , (6941 days ago) @ Chris
Hi Chris,
I have to ask you, what Protocol are you using in wodFTPserver?
Regards,
Drazen
by Chris , (6941 days ago) @ wodDrazen
Any protocol. I was coding a standard FTP server set-up and needed to monitor what folder the user was in and could not find a current path is in FTPserver user object. Then I thought, how will I know where is the user is? I could not see anything in the help.
by wodDrazen , (6941 days ago) @ Chris
Hi Chris,
You can use ChangeDir Event and ResolvedPath and RelativePath variable.
ResolvedPath will show you full path to folder on your system and RelativePath will show you path that is seen by the user.
Here is example:
----------------------------------------------
Private Sub FtpD_ChangeDir(ByVal User As wodFTPDComLib.IFtpUser, ByVal RelativePath As String, ResolvedPath As String, Action As wodFTPDComLib.FtpActions)
Debug.Print User & User.Login & is in & ResolvedPath & folder. This is users folder & RelativePath
End Sub
----------------------------------------------
More help for ChangeDir Event you can find here:
http://www.weonlydo.com/FTPServer/Help/wodFTPDLib~wodFTPD~ChangeDir_EV.html
Hope this helps.
Regards,
Drazen
Your professionalism is reflected into your email, your product and your web site. I am confident that these will make the difference.
You have been great as far as offering support is concerned and has been extremely responsive to both support requests and suggestions for product enhancements.
I've heard that you are amazing with your replies coming back so quickly - and now I've seen the speed in which you reply first hand.
You have been great as far as offering support is concerned and has been extremely responsive to both support requests and suggestions for product enhancements.
May I say how nice it is to work with components so complete and self-explanatory that using them in my application is as instinctive as though I wrote them myself?
Don't be fooled by the cost, it's value and quality far exceeds the price being charged!
...your service has been phenomenal. It's always quick and you are there when I need you.
Count us as a satisfied WeOnlyDo customer. We appreciate your terrific support to get the secure Telnet working properly.
Your customer service was excellent, and I will look at your products in the future for precisely that reason.
It was no small factor, however, that your support in getting me up and running made me buy from you.