Re: OnPromptReceivedWodtelnetdlx1() is never fired (General questions)
HI,
thank you for your reply.
Some how the WODTELNETDLX is not much simple with VC++ ActiveX compared to yours in VB.
I tried with VC++, where I need to Wait for the LOGIN: prompt to come & then i need to send my login name & so on. this does nt work out for me in VC++. I didnt understand the VARIANT parameter which i need to pass for SEND and for others too.
SO Right now im working with VB. its goign on good. I need to just refine my statements so that everything goes well.
I have a quick quextions here for you:
1) will the ReceiveFile function gets me any number of files at a time or single file at a time. (can i get *.* files using receivefile)
2) in the same wasy for Sendfile funtions too. Can I send *.* files using this sendfile.
3) some times my login name is beinf passed before my login prompt has come down. which causes me a invalid login. this occurs only some times. I had set Telnet1.Prompt = login: before Telnet1.Connect.
& then I will wait in Private Sub Telnet1_PromptReceived()for the prompt to come. this works fine except some times. So i couldnt understand why its acting like this.
Im doing the same kind of program which already the previous members in this forum are developed for a US GOVT server. My program is same as like the member kirti_masrani (Sendfile not working - Topic) .
please do let me know the answers for above questions.
4)Is there a way Where I can check for 2 prompts at a time. at one place of my program there is a chance of getting 2 prompts. So How can i check for either of them.
I may be asked like:
Do you want to receive files? Y/[N]:
or
Do you want to send a file? Y/[N]:
is this correct:
Telnet1.Prompt = regex:[Do you want to receive files? Y/[N]:]|[Do you want to send a file? Y/[N]:]$
I would Appreciate your responce for my first 1,2,4 questions. As they are very important for my part of job.
thanking you,
regards & best wishes,
Sai
Complete thread:
- OnPromptReceivedWodtelnetdlx1() is never fired - mk_saiprasad, 2006-01-05, 17:07
- Re: OnPromptReceivedWodtelnetdlx1() is never fired - wodSupport, 2006-01-05, 20:10
- Re: OnPromptReceivedWodtelnetdlx1() is never fired - mk_saiprasad, 2006-01-05, 20:36
- Re: OnPromptReceivedWodtelnetdlx1() is never fired - wodSupport, 2006-01-06, 14:31
- Re: OnPromptReceivedWodtelnetdlx1() is never fired - mk_saiprasad, 2006-01-06, 18:56
- Re: OnPromptReceivedWodtelnetdlx1() is never fired - wodSupport, 2006-01-06, 14:31
- Re: OnPromptReceivedWodtelnetdlx1() is never fired - mk_saiprasad, 2006-01-05, 20:36
- Re: OnPromptReceivedWodtelnetdlx1() is never fired - wodSupport, 2006-01-05, 20:10