Re: User.CurrentPath - WeOnlyDo Discussion board

Re: User.CurrentPath (General questions)

by wodDrazen, Friday, September 15, 2006, 14:41 (6644 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


Complete thread: