Log in

View Full Version : How would I download a .exe file ???



Rino5555
04-11-2008, 05:38 PM
Hi to all...

I would like to put a .exe file on my web site and allow to download...

How would i do this...

Thanking you in advance...


Rino

thetestingsite
04-11-2008, 05:49 PM
upload your file to the server, then place a link pointing to it. The browser will usually download right off the bat.

Hope this helps.

Rino5555
04-11-2008, 05:52 PM
I'll give it a try...

Rino5555
04-11-2008, 06:19 PM
I tried it and i get "The page cannot be found"

thetestingsite
04-11-2008, 06:24 PM
That means that you didn't upload the file to the location you pointed to in the browser. In other words, if you make your link mysite.com/test.exe but upload to the folder /test/test.exe, then you will get a 404 (page not found) error.

Hope this helps.

Rino5555
04-11-2008, 08:35 PM
i double checked and the path is correct...
if you have two mins to check here's the site...
http://www.hartstores.com/Hart/SignCards/FurnitureSigns.asp

thetestingsite
04-11-2008, 08:55 PM
I can't find it, and the server apparently can't find the file either. Without access to the server, the only thing I can suggest is making sure that the files are in fact there on the server.

Hope this helps.

djr33
04-11-2008, 09:50 PM
1. Upload file.
2. Write down the path to the file.
3. Use as link.

If that link does not work either:
1. The path is NOT to that file.
2. The file is no longer there.

As thetestingsite said, we cannot do anything more.

Also, since you are just linking to a file, there is nothing I can imagine that would be going wrong in terms of configuration, settings, etc.


I notice that your URLs contain spaces (and some have other characters). Consider conventions like using underscores (_) instead of spaces and using all lowercase letters, with no punctuation characters. This can cause problems, though I can't find the file even trying a few things to fix this, so I'm not convinced that is, in this case, the problem.

rangana
04-12-2008, 01:03 AM
With all their suggestion, the issue maybe is that your link is the err ;)



<A HREF="/Hart/SignCards/Images/Furniture Sign Cards/Furniture08FR_3x5 (Page 01).pdf"><img border="0" height="32" width="33"SRC="/Images/pdf.gif"></A>


...and also, as what Daniel had suggested, try renaming your file, avoid using spaces :)

Striker84
04-14-2008, 11:33 PM
Following along with Daniel and testingsite mentioning either removing the spaces or replacing with underscores, there are a couple other parameters to look for as well:

Are you uploading by the website or by FTP?

If by your website, you will want to look into the folder structures and see exactly how deep this .EXE is placed:

(ie; test/test.exe or test/test2/test3/test.exe).
-------------------------------------------------------
If this if by FTP, when you initially login (unless you have changed the starting directory), the default folder listed as "/" would have you placed at the equivalent: http://www.yourwebsite.com

Any folders you access from here will be added to the end of this URL:
(ie; http://www.yourwebsite.com/test/test2/test.exe)
--------------------------------------------------------

Hope this along with other postings help alleviate your problem.

-=Striker=-

Rino5555
04-15-2008, 08:53 PM
The path is correct and it opens fine...
The problem is that now when i click on the exe to open it opens and works fine...
It's when i close it, it tries to find the exe page
i get
"CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: "

But i don't when it to find the page i just when to open when its clicked on and when i close it, it stays at the page it was

Striker84
04-18-2008, 02:50 AM
Could you post a link to the page where the "EXE" file is linked so I can take a look at the code?

-=Striker=-