Thank you for your response. The first part was fixed, and it did the trick.
I am using VFP 7.0, FoxWeb 3.1, Win2k3 Server
Sent by FoxWeb Support on 02/23/2006 08:39:30 PM:
Your script sends <html> tags before and after the file data, so it will invariable corrupt the file. Try removing these tags from your script. Also, please specify which version of FoxWeb you are running.
Sent by Ali Koumaiha on 02/21/2006 07:25:47 AM:
I am using the example provided download.fwx, and i made minor modifications. I am having 2 problems:
1- Files being downloaded are corrupted. For example, if i have a small zip file 300K which opens prior to downloading, after it is downloaded via the method/code below, i cannot open the file again. I tried it with XLS file, BMP file, JPG file, etc..
2- Files that are over 15MB will not download. I have a file that is 20MB on a LAN (Basically my app is running on the lan), using the method below, the browser IE6 prompts for Save/Open. When i click save, it acts as if its about to download, and after like 3 minutes or saw, i get a messagebox from IE "Server was reset or something like...etc.."
Do i have to put the files in a the root/accessible and just pass a link to the user?
I really want to use a script to do that. What are my options.
thanks in advance.