.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

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:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old August 28th, 2000, 12:20 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Having trouble with aspSmartUpload

<i><b>Originally posted by : sudermatt (sudermatt@hotmail.com)</b></i><br />aspUpload is acting very strangely. <br /><br />When I upload a file I add a database entry on the file path.<br /><br />On my site I give the user the opportunity to delete the file. But all I actually do is delete the database entry. If I try to upload the same file immediately, I get an error:<br />=----------------------<br />aspSmartUpload.File error '80040460' <br /><br />Unable to save file (Error 1120) <br /><br />/ReceiveChangePic.asp, line 64 <br />-------------------------<br />this is line 64:<br /> file.SaveAs("c:inetpubwwwrootimagesuserpix"" & session("userid") & "_" & file.FileName)<br /><br />In this case the file is already on the box. The file name is the same, so this is an overwrite condition.<br /><br />Here is where it get's really wierd. If I wait for approximately 30 seconds, the upload works just fine.<br /><br />Has anyone else experienced this type of behavior in an overwrite situation?<br /><br />Merci,<br />Matt<br />

Reply With Quote
  #2  
Old August 28th, 2000, 09:17 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : Sachin Adkar (sachin_adkar@usa.net)</b></i><br />I tried this today using ASPSmart Upload. I got the same error.<br />But if you save the file in "C:Inetpub"" or any folder which is not in "wwwroot" folder, then it works fine. <br />But if you save it in the folder "C:inetpubwwwroot" and the folders in wwwroot , it gives 1120 error.<br /><br />Why we cant save the file in "wwwroot"?<br /><br />--Sachin

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Having trouble with aspSmartUpload


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway