Re: Uploading/Download (server/client both created - WeOnlyDo Discussion board

Re: Uploading/Download (server/client both created (General questions)

by Dennis, Saturday, December 18, 2004, 00:09 (7077 days ago) @ wodSupport

I think there's no need to use such special tags in Login property. You can use User.Service property. It tells you exactly what user is doing (in respect to the service he uses). Why don't you use that one?

Thanks for that info.
I'm just trying to discover all the functions in the components.. have to dig though the Help files since the samples included only give at very best the most simple ideas on how to perform stuff.

One thing still puzzles me though.
I'm using the SFTP Server sample as a model for the server I'll be using for this project since it handles uploads/downloads automaticaly.
But in the code it says this:

[code]
Private Sub SSHD1_Received(ByVal User As wodSSHDComLIB.ISSHUser, ByVal ServiceIndex As Long, ByVal BytesCount As Long)
' you can NOT put anything here for SFTP connections

' even more, don't try to use Send method !!!
' if you do so, you will interfere with packet integrity!
End Sub[/code]

If I can't recieve or send data to the client, how would I go about sending/recieving commands like for the 'UserList' and such?


Again, a BIG thanks for the great support and speedy replies I recieved so far. Great support on this forum.

/Dennis


Complete thread: