WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

WinInet
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

iFtpCmd APPE Causes iWriteData to Crash using IE 7

 Keywords: GPF Crash iFtpCmd STP APPE Append iWriteData File Wininet Internet Explorer IE 7 

Question:

I have a script that FTPs a file to our mainframe thats been working for a couple of years with no problem. However I ran across a user that has IE7 installed and the script seems to not like IE7. The script attempt to use iFtpCmd to APPE (append) a file, When I run the script it crashes on the iWriteData line. I am using WinBatch Version 2007C on a Windows Xp SP2 workstation. I was wondering if anyone else is experiencing that same kind of problems ? Is there anything I can do other than removing IE7 ?

Answer:

The install of IE7 probably installed a new version of wininet.dll, which the extender relies heavily on. I think we tracked down the problem. Looks like a bug in the Internet Explorer 7.
SYMPTOMS 
On a computer that has Windows Internet Explorer 7 installed, you may be unable to use an FTP application to upload a file to a remote server.

This problem occurs if the application is based on WinINet FTP functions.

CAUSE
This problem occurs because of an access violation that is caused by the InternetWriteFile WinINet API function.

When you use an application that is based on WinINet FTP functions to upload a file to a remote server, the remote file is created by using the APPE FTP command. However, when the operating system tries to use the InternetWriteFile function to write the file, this access violation occurs.

It will require a Windows Hotfix. http://support.microsoft.com/default.aspx/kb/934376


Article ID:   W17615
Filename:   iFtpCmd APPE Causes iWriteData to Crash using IE 7.txt
File Created: 2008:12:05:11:49:36
Last Updated: 2008:12:05:11:49:36