|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 />
|
|
#2
|
|||
|
|||
|
<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
|
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > Having trouble with aspSmartUpload |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|