ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP Development
ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month!

Download and Activate to enter!
Receive the tools necessary to be the rock star of your field. Our 12-month program teaches you the evolving world of multi-channel marketing as well as the complex issues and opportunities found in the industry.
Web development can be a daunting task, even for specialists. There is a lot of information to absorb and a lot of technologies to learn in order to manage a superior website. When trying to learn the ropes, developers need a reliable source to introduce new ideas that can be easily implemented. When working on large projects, even web veterans may run into a technology or an aspect of a technology that they are unfamiliar with.

Download to Enter | Contest Rules

Learn More!

Tutorials | Forums

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old May 2nd, 2006, 09:49 PM
jefwic jefwic is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 9 jefwic User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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.

Reply With Quote
  #2  
Old May 3rd, 2006, 10:22 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
Click here for more information
 
Join Date: Sep 2004
Location: Israel
Posts: 31,109 Shadow Wizard User rank is General 29th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 29th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 29th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 29th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 29th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 29th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 29th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 29th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 29th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 29th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 29th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 29th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 29th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 29th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 29th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 29th Grade (Above 100000 Reputation Level)  Folding Points: 2595929 Folding Title: Super Ultimate Folder - Level 6Folding Points: 2595929 Folding Title: Super Ultimate Folder - Level 6Folding Points: 2595929 Folding Title: Super Ultimate Folder - Level 6Folding Points: 2595929 Folding Title: Super Ultimate Folder - Level 6Folding Points: 2595929 Folding Title: Super Ultimate Folder - Level 6Folding Points: 2595929 Folding Title: Super Ultimate Folder - Level 6Folding Points: 2595929 Folding Title: Super Ultimate Folder - Level 6Folding Points: 2595929 Folding Title: Super Ultimate Folder - Level 6Folding Points: 2595929 Folding Title: Super Ultimate Folder - Level 6Folding Points: 2595929 Folding Title: Super Ultimate Folder - Level 6
Time spent in forums: 3 Months 3 Weeks 2 Days 20 h 18 m 8 sec
Reputation Power: 2919
disable your anti virus Script Blocking, restart your computer and try again.
most likely is you can't run any code involving files, not only Upload or my code.

Reply With Quote
  #3  
Old May 3rd, 2006, 07:06 PM
jefwic jefwic is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 9 jefwic User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 49 m 34 sec
Reputation Power: 0
Thanks, the script blocking did the trick. Strange, NAV is supposed to prompt for action when it blocks scripts. As well, all my other ASP code was working fine..just not the savetodisk.

Thanks!

Regards,
Jeff Wickenheiser

Reply With Quote
  #4  
Old July 13th, 2007, 11:03 PM
bubble bubble is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2007
Posts: 60 bubble User rank is Private First Class (20 - 50 Reputation Level)bubble User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 18 h 55 m 58 sec
Reputation Power: 5
hi shadow, i have an error can you help me

i already success in my pc, but when i try in live i have an error

error message : Disallowed_Path_Characters

thx

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > ShadowUploader - script hangs on SaveToDisk call


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 



Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 8 - Follow our Sitemap