WeOnlyDo Support

Frequently Asked Question

How do I find current user path (FTP protocol)?
Last Updated 12 years ago

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

Please Wait!

Please wait... it will take a second!