User.CurrentPath (wodFTPServer)
How do I find the current user path?
How do I find the current user path?
by wodDrazen
, (7098 days ago) @ Chris
Hi Chris,
I have to ask you, what Protocol are you using in wodFTPserver?
Regards,
Drazen
by Chris
, (7098 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
, (7098 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

This has been, by far, the best experience I have ever had dealing with a support entity in my long career in the technical arena

I really like these products - they are consistently first rate!

Just thought you'd like to know that my gateway app with your SMTP Server component held the line against a DDOS attack today...

The SFTP ocx is one of the finest pieces of programming I have seen. It worked out of the box...

Your .NET components allow us to blend .NET technology seamlessly with secure communication, and with excellent technical support.

You did a great job on wodSSH and wodSSHServer! I got a lot for very little money. Thanks!

I really like these products - they are consistently first rate!

We have recently completed a large 1200+ location project where reliable Telnet and SSH connectivity was required. wodSSH worked flawlessly and allowed our staff to complete our project ontime and within budget.

We have recently completed a large 1200+ location project where reliable Telnet and SSH connectivity was required. wodSSH worked flawlessly and allowed our staff to complete our project ontime and within budget.

The SFTP ocx is one of the finest pieces of programming I have seen. It worked out of the box...

