
Internet Transfer Control Keeps Eating Memory
I'm using the ITC in a loop to upload binary files to a website. This is
being done 24 hours a day, and eventually I run out of memory and every
thing locks up, requiring a total reboot. I'm using Access97.
Example code ....
Dim objFTP As Inet
Here is what's in the loop when a new file to upload appears in a certain
folder:
Set objFTP = Me!Inet1.Object
objFTP.Protocol = icFTP
objFTP.URL = pstrHost
objFTP.UserName = pstrUser
objFTP.Password = pstrPsw
objFTP.Execute pstrHost, pstrCommand
objFTP.Execute , "QUIT"
Set objFTP = Nothing
Why is this happening and what can be done to fix it?