These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

downloads are corrupt

When i download files of any type, they download OK, but when i try to open they will not. jpegs are blank, pdfs get the following error in acrobat <a href="http://www.inhouse.ee/images/error.gif" target=_blank >http://www.inhouse.ee/images/error.gif</a>
phil 9/2/2004 3:51 AM
forgot to mention that the error occurs no matter which PC I attempt to download onto, so its a problem at the server end. the server is hosting our intranet, and i have full control of it to do any tweaking.
phil 9/2/2004 3:54 AM
Mine get corrupted as well
becareful....it may be a little while before the devolper gets back to ya.

He's a busy guy
kevp75 9/9/2004 7:41 PM
Its weird, they worked fine before. All thats changed is  I pointed WebExplorer at a different directory.

Basically, ive decided to make our actual project files available on both intranet and extranet, and i didnt want to have to duplicate all the data on the server.
So i pointed them at the live directory. Now the downloads are corrupted. If you upload a file to the server its fine, as in you can open it on the server and its not corrupt. but as soon as you download it again, its essentially an empty file of the correct size.
phil 9/10/2004 10:29 AM
Ok, I've at least established that its something i've done with the code, not a fault with WexLite.
I created a new instance of Wex with no edits on the same server, and it worked fine. 
I'm not really any closer to isolating the problem though. I  lots of  changes to the original code, so i could run it in an asp template system, seeing as it doesn't work with a frameset.
I have a number of other snippets of code and variables I'm using which mean that I had to comment out the Option Explicit at the top of  default.asp
I don't know what the knock-on effects of this are though. I'm not really that good with .asp yet.
anyone have any bright ideas?
phil 9/30/2004 5:41 AM
Ok, I think I'm a bit closer to understanding the problem. The downloaded files are missing header info. I found this out when i downloaded a zip file. It wa´rned me they were missing, but allowed me to open the file anyway, and the file was fine. I still don't know whats causing this though, as I'm comparing all my files with the original and can't see any obvious differences.

It'd be great if a tech would reply to this thread. Its been here a month now.

I'm talking to myself here!!!
phil 9/30/2004 7:28 AM
I had the same problem. And I discovered something :

I tried to modify the config.asp witnout changing "wexPassword" and "wexRoot" (I just changed a letter in a comment, so no incidence!) and sent it by FTP. Then the file downloaded (a Word document) was corrupted.
In fact, when I modify the config.asp on my computer (with notepad or other software) and I send it by FTP to the server, I download corrupted files. But when I modify the original config.asp directly on the web server (I took the control with terminal server and I edit it with notepad) it works, the files open correctly.

This problem is really strange... I think only WebExplorerLite developers could fix it. If you could not access by yourself to the web server, ask your ISP (for personnal pages) or your webhosting company to modify the config.asp directely on the server without using FTP Client.

I hope it'll help you.
Sincerely, Cyril.
Cyril RICHARD 10/24/2004 5:29 PM
It could be you are uploading as binary instead of ascii--just a thought.  I use FileZilla and .asp is in the list to autodetect for ascii upload.  After making some small improvements I downloaded some files and they were just fine (not corrupted).

Mike...
Mike 10/25/2004 9:01 AM