Hi,
I've been banging my head against my desk for a day now. I want to download a .ZIP file from my companies intranet from within Access.
I used the InternetOpen, InternetConnect and HttpOpenRequest functions from wininet.dll. I set the HttpOpenRequest AcceptTypes parameter to "ZIP" & vbNullString.
When I try and loop through the InternetReadFile function to build the file in the buffer it always has 0 in the number of bytes read parameter.
Am I doing something wrong? is the InternetReadFile function only valid with text? should I change my buffer variable from string to something else? I need an asprin.
FrankX
I've been banging my head against my desk for a day now. I want to download a .ZIP file from my companies intranet from within Access.
I used the InternetOpen, InternetConnect and HttpOpenRequest functions from wininet.dll. I set the HttpOpenRequest AcceptTypes parameter to "ZIP" & vbNullString.
When I try and loop through the InternetReadFile function to build the file in the buffer it always has 0 in the number of bytes read parameter.
Am I doing something wrong? is the InternetReadFile function only valid with text? should I change my buffer variable from string to something else? I need an asprin.
FrankX