Home > .NET Development > Having trouble with aspSmartUpload

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 />

    
Guest


<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

Was this answer helpful ? Yes No   
Guest
 
 
Home - About Infoqu - Contact - Privacy Statement - Link to Infoqu - Bookmark Infoqu

Copyright 2007-2010 by Infoqu. All rights reserved