
May 2nd, 2006, 09:49 PM
|
|
Registered User
|
|
Join Date: Apr 2005
Posts: 9
Time spent in forums: 49 m 34 sec
Reputation Power: 0
|
|
(regarding this thread: http://forums.aspfree.com/code-bank...ures-94647.html)
Hello,
I seem to be having a few problems with this script. I have downloaded the zip file and used the code (named index.asp) from the first post.
When I create an image that is too large (dimensions), I get the error that the image is too big and all the other details about the files. But when I try to upload a valid bmp (within dimension limits) the script just hangs on the index.php page..it seems like the page is being requested (flag waving in IE, green bars at bottom that show progess stop at halfway) but nothing has ever happened. I have tried a restart. The file size is under 50 kb. I am testing on my local computer (XP Home - maybe that is the reason) computer.
I have used a response.write(Server.MapPath("Uploads")) in another page and get:
d:\inetpub\wwwroot\ShadowUploader\Uploads
which is a valid directory and the one I am trying to upload to.
Does anyone have any ideas on what could be wrong?
Thanks,
Jeff
EDIT: It definitely seems that the Call objUpload.File(x).SaveToDisk(Server.MapPath("Uploads"), "") line is the one timing out. Everything else works when I comment this line out (except of course the upload).
Last edited by Shadow Wizard : June 13th, 2006 at 08:32 AM.
|