Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Odd Java/VB/VFP thing
Message
De
02/05/2008 11:17:10
 
 
À
02/05/2008 11:07:56
Information générale
Forum:
Politics
Catégorie:
Autre
Divers
Thread ID:
01314640
Message ID:
01314803
Vues:
10
>Oh. i didn't understand you the first time either.
>
>The first thing i would do, would be to look at both text files with a hex editor. My guess is your missing some CRs, LFs. So the VB program is not able to properly parse the Java version of the file.
>
>>>>>>Any ideas?
>>>>>
>>>>>What do you mean by "pass it the text file" ?
>>>>
>>>>The text file name is passed to the VB executable as a parameter. That part works.
>>>
>>>So, to clarify, when you run the VB executable from Java you get login prompts whereas when running it from VFP you don't?
>>>
>>>Next question: What do you mean by 'logs in to a site'? Is it an FTP site? Does it use Windows authentication? Is the Java app using different credentials to the VFP app?
>>>
>>>Regards,
>>>Viv
>>Nope
>>
>>The text file works as a 'script', for want of a better description, for the MODEM interface application. It should do the logging in, uploading/downloading, etc, logging off autmajically.
>>
>>When I pass the VB MODEM interface application the 'script' text file that was created in VFP via the JAVA class, it does what it is supposed to do.
>>
>>When I pass the VB MODEM interface capplication the 'script' text file that was created in JAVA, it gets so far as dialing up the MODEM site, I get the 'welcome' blah-blah, then the other site asks for Login ID and it sits there and doesn't pass in the login ID. It sits there until the other side times out and disconnects

Then it sounds as if there *is* a difference between the two files. Did you just compare 'visually' or actually run a file compare utility such as WinDiff? For testing: have you tried launching the VB executable directly rather than from within the Java/VFP apps?

Regards,
Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform