FXP_READ (wodFTPServer)
I use wodFTPD Server 2.4.4. I use it in VS 2005. The server is operating as an SFTP Server. The code I have questions about is more or less like this:
[code]
Private Sub objServer_DownloadFile(ByVal User As wodFTPDComLib.FtpUser, ByVal RelativePath As String, ByRef ResolvedPath As String, ByRef Action As wodFTPDComLib.FtpActions) Handles objServer.DownloadFile
If User.Login = SFTPClient Then
ResolvedPath = C:\Images\01.TIF
End If
Action = wodFTPDComLib.FtpActions.Allow
End Sub
[/code]
I have simplified my code for purposes of my question. If my understanding is correct, the above code should let the user SFTPClient download the same file (C:\Images\01.TIF) every time regardless of the file requested in RelativePath.
This code however is giving the client the following error:
Server returned invalid response to FXP_READ.
The client was written with wodSFTP.NET component. It would impractical for me to ask for an upgrade of the clients' component. At this time, I need the server to always retrun the same documentto user SFTPClient, no matter what document is requested.
Can you help me find out what could be missing?
Complete thread:
- FXP_READ - californiaman, 2009-04-26, 22:16
- Re: FXP_READ - woddrazen, 2009-04-27, 00:32
- Re: FXP_READ - californiaman, 2009-04-27, 07:35
- Re: FXP_READ - californiaman, 2009-04-27, 07:48
- Re: FXP_READ - wodDamir, 2009-04-27, 09:00
- Re: FXP_READ - californiaman, 2009-04-27, 10:12
- Re: FXP_READ - wodDamir, 2009-04-27, 10:48
- Re: FXP_READ - californiaman, 2009-04-27, 10:12
- Re: FXP_READ - wodDamir, 2009-04-27, 09:00
- Re: FXP_READ - californiaman, 2009-04-27, 07:48
- Re: FXP_READ - californiaman, 2009-04-27, 07:35
- Re: FXP_READ - woddrazen, 2009-04-27, 00:32