Sendfile not working - WeOnlyDo Discussion board

Sendfile not working (General questions)

by kirti_masrani, Saturday, July 16, 2005, 11:50 (7069 days ago)

i just downloaded wodTelnetDLX and try it. My Requirement is to connect to a server using telnet with SSL 3 Support on port 992.after that i need to send and receive file from and to server.Using wodTelnetDLX i can connect to the server and can send and receive data using send and receive methods.When i get the Upload command from server to send file i call the sendfile method.So TransferStart Event is fired but after that TransferProgress event doesnt arise as it should be. why its not working? my code is as below:

Private Sub Telnet1_PromptReceived()
Dim PromptStr As String
PromptStr = Telnet1.Prompt
Select Case PromptStr
Case login:
Telnet1.Send xyz & vbCr
Telnet1.Prompt = Password:
Case Password:
Telnet1.Send abc & vbCr
Telnet1.Prompt = Enter your choice:
Case Enter your choice:
Telnet1.Send 2 & vbCr
Telnet1.Prompt = Do you want to send a file? Y/[N]:
Case Do you want to send a file? Y/[N]:
Telnet1.Send y & vbCr
Telnet1.Prompt = **B010000012f4ced
Case **B010000012f4ced '''''file upload command from server
Telnet1.SendFile ZMODEM, c:abc.txt ,true
Telnet1.Prompt = Enter your choice:
End Select
End Sub



Complete thread: