Newsgroups : Microsoft : microsoft.public.inetsdk.programming.wininet : 2007 Mar : Why does FtpGetFile sometime put a file in "Temporary Internet Files\Content.IE"

www.cryer.info
Managed Newsgroup Archive

Why does FtpGetFile sometime put a file in "Temporary Internet Files\Content.IE"

Subject:Why does FtpGetFile sometime put a file in "Temporary Internet Files\Content.IE"
Posted by:afbark..@ingr.com
Date:6 Mar 2007 14:30:05

For some years, we have been running at many sites a service written
in VB.NET that calls a DLL written in Microsoft Visual Basic 6.  This
DLL uses wininet.dll's FtpGetFile to copy files from an FTP directory
to a local scratch directory.

We have noticed that on some machines, FtpGetFile places a copy of the
file being copied not only into the scratch directory but also into "C:
\Documents and Settings\Default User\Local Settings\Temporary Internet
Files\Content.IE5".  However, on other machines, FtpGetFile does not
place a copy of the file into "Content.IE5".

Does anyone know why this would happen on one machine but not on
another with the same DLL?

Does anyone have a suggestion on how to prevent the copying of files
by FtpGetFile into "C:\Documents and Settings\Default User\Local
Settings\Temporary Internet Files\Content.IE5"?  We are looking for
machine settings or code parameters or -- preferably -- both.

   --- Alan Barksdale --- AFBarksd@INGR.Com ---

Replies:

www.cryer.info
Managed Newsgroup Archive