Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
5
Erster Beitrag:
vor 8 Jahren, 5 Monaten
Letzter Beitrag:
vor 8 Jahren, 4 Monaten
Beteiligte Autoren:
Paulo Oliveira, Andres Sanchez, Piet van Zanten

WINDEV XIV, FTP & IE version

Startbeitrag von Paulo Oliveira am 30.04.2009 14:14

With WINDEV XI the FTP* commands don't work if the pc have IE7, if the pc have IE6 or IE8 it works.

Anyone test the FTP* commands with WINDEV XIV ?
If so which is the IE version installed ?

Antworten:

Re: WINDEV XIV, FTP & IE version-HELP PLEASE

I have until Monday to make a proposal for a client, by then I have to know what requirements are needed.
If someone has WD XIV and IE7 and don't mind to run this small code and tell me what is the result.
PS: The file HELLO.TXT only have the word HELLO as content.

CODE:

CON_FTP is int
wres_txt is string
wres is string
CON_FTP=FTPConnect("193.126.230.225","wx_tst" ,"wx_tst")
IF CON_FTP = -1 THEN
Error("FTP-CON",ErrorInfo())
RETURN
END
IF NOT FTPCommand(CON_FTP,"retr "+"HELLO.TXT",wres,wres_txt,FTPASCIIMode) THEN
Error("FTP-RETR",wres+" "+ErrorInfo())
RETURN
END
Info(wres_txt)
FTPDisconnect(CON_FTP)



von Paulo Oliveira - am 30.04.2009 17:07

Re: WINDEV XIV, FTP & IE version-HELP PLEASE

Hi Paolo,

Tried this with IE7. Both in WD14 and WD 12 I get an error on the FTPCommand line. (see below)
If I change to binary mode no error, but also no data. Why do you think IE7 has anything to do with this?

Regards,
Piet

Error in Global Procedure New_Procedure process, line 23..
Unexpected system error.
If this error systematically occurs in the same conditions, contact PC SOFT Hot Line and specify:
- the error circumstances,
- a window, a project or the code lines used to replicate the problem,
- the details below.

Détails techniques :

Module : MSVCRT.dll
Adresse de base : 77BE0000
Erreur système : Access violation (GPF)
EIP = 77C12A16
OS : Windows XP ou .NET Service Pack 3(5.1.2600)

Technical Information

etc.






von Piet van Zanten - am 30.04.2009 20:39

Re: WINDEV XIV, FTP & IE version

Paulo:

I run your code with Windev 12 and IE7, and also get the same error but if I change the FTPCommand to an FTPGet, the file is transferred fine.

CON_FTP is int
wres_txt is string
wres is string
CON_FTP=FTPConnect("193.126.230.225","wx_tst" ,"wx_tst")
IF CON_FTP = -1 THEN
Error("FTP-CON",ErrorInfo())
RETURN
END
IF NOT FTPGet(CON_FTP,"HELLO.TXT","HELLO.TXT") THEN
Error("FTP-RETR",wres+" "+ErrorInfo())
RETURN
END
Info(wres_txt)
FTPDisconnect(CON_FTP)


Hope it helps

Andres Sanchez

von Andres Sanchez - am 30.04.2009 22:44

Re: WINDEV XIV, FTP & IE version-THANKS

Answer from PCOSFT to this problem in 2007/10/19:
Hi,
Sadly the problem is in IE7 and there is no easy way to workaround the problem. Most of WinDev FTP commands would have to be rewritten from scratch.


This is the major problem of PCSOFT, bug reported are rarely fixed.
I'm going to put one requirement in our proposal that all the pc must have IE8.



von Paulo Oliveira - am 04.05.2009 10:22
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.