| Dart Home | PowerTCP Web for ActiveX | Custom Development | Reply | PowerTCP Web for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Web for ActiveX Topic: Downloading EXEs using Get |
| whiprush From: Springfield, MO USA Posts: 9 Member Since: 05/13/03 |
posted June 27, 2003 12:21 PM When I download EXE files from my local server using GET, the files are always smaller (4k in size) than the file in the server. I've noted this problem doesn't seem to happen with other file types. Does the web too have a problem with downloading EXEs? |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted June 30, 2003 10:13 AM Hi, I am able to download exe files with the PageFetch sample without a problem. Do you see the same problem with the sample? Thanks, -ken |
| whiprush From: Springfield, MO USA Posts: 9 Member Since: 05/13/03 |
posted June 30, 2003 11:41 AM Well, on the PageFetch, the same problem occurs with the Get -- it treats a 900K exe (winzip70.exe, to be specific) as a 4K text file. This is the response header I get: Server: Microsoft-IIS/5.0 Date: Mon, 30 Jun 2003 15:32:33 GMT Connection: close Content-Length: 4040 Content-Type: text/html Do I need to make changes to the request header prior to doing the download, specifically the content type? |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted July 1, 2003 9:30 AM Hi, The server is returning a 4k Html response. What does the content of this response look like? What do the Status and StatusText look like? Thanks, -ken |
| whiprush From: Springfield, MO USA Posts: 9 Member Since: 05/13/03 |
posted July 1, 2003 10:48 AM The status is 404; the StatusText is "Object Not Found". This is the content retrieved: <<Page saying page could not be found>> |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted July 2, 2003 8:49 AM Hi, As I am sure you figured out, the server is telling you the file you are trying to retrieve does not exist. If you try with an existing file, it should work. For example, try retrieving: www.dart.com/downloads/update.exe -ken |
| Reply | PowerTCP Web for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|