PDA

View Full Version : Uploading a Win32 exe file


sheila
02-26-2001, 10:36 AM
OK, so I have a program I want to share with someone. A small windows exe file. A game some of my students wrote last year.

So I put it on my free web host. Uploaded in binary. Then tried to download it, and run it, to test the file myself. (It's here:
http://balder.prohosting.com/~apcs/genesis/CMUGraphics/BeyondTetris.exe )
but windows will not run it. Says it isn't a valid Win32 application.

OK, so I thought maybe it was just that free web host. You know. Maybe they're hokey. So I uploaded it to my FQ site (again, in Binary through the CNC though, not FTP). I tried to download and run it. Same results. Not a valid file.

(I put it here: www.thinkspot.net/test/BeyondTetris.exe (http://www.thinkspot.net/test/BeyondTetris.exe) )

So, does anyone know what's wrong?

dank
02-26-2001, 11:22 AM
When you say you're downloading it, I assume you mean through the browser, as opposed to through ftp?[nbsp][nbsp]I would first try downloading through ftp.[nbsp][nbsp]If that works, then it is probably a matter of setting the correct headers for downloading through the browser.[nbsp][nbsp]That's never as easy as it sounds...

Dan

sheila
02-26-2001, 11:39 AM
Yes, I meant downloading it through the browser.

I will try ftp just to see this through, and see if I can learn how to set the proper file type for downloading.

FWIW, I have sort of solved the problem, by renaming the file to a compatible DOS 8.3 filename format. I don't know why that fixed it, but it just occured to me, I tried it, and it worked.

But I will follow through with your suggestions, dan, because it really bugs me that the file doesn't work with the given file name.

sheila
02-26-2001, 11:43 AM
Hm. Nope. It didn't work with an ftp download either.

I'm really puzzled. I usually upload Word Docs and all kinds of stuff, that doesn't fit DOS 8.3 file name format, and never have trouble downloading and running it. Wierd.

sheila
02-26-2001, 01:03 PM
Thanks for the thought, Rich. Yes, I have run it before uploading it. The file is fine on my local machine.

Rich
02-27-2001, 12:59 AM
Have you tried running the program *before* upload/download via FTP?

Rich
-- Just a thought