Forums
This topic is locked
ASP Upload File location selection
Posted 03 May 2002 16:39:32
1
has voted
03 May 2002 16:39:32 Richard Davies posted:
HiI am building the administration section for my online store. All files are in the /maintenance directory. I want to upload a file from /maintenance/addpic.asp and I want it to be saved in the /images/products folder.
If I leave the "Upload folder" field in ASP Upload empty then I get the error message:
An error has occured saving uploaded file!
Filename: /maintenance/112007.jpg
Maybe the destination directory does not exist, or you don't have write permission.
Please correct and try again
And if I browse to the "Products" folder so the form field reads "../images/products" (including the inverted commas) then I get the error message:
Filename: /maintenance/../images/products/112007.jpg
Maybe the destination directory does not exist, or you don't have write permission.
Please correct and try again
Does anyone know what I should put into the form to get it to upload to the right location?
Thanks
Richard
Replies
Replied 03 May 2002 21:51:20
03 May 2002 21:51:20 Viktor Farcic replied:
Folder where you're uploading files need to have read/write permissions.
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hi
I am building the administration section for my online store. All files are in the /maintenance directory. I want to upload a file from /maintenance/addpic.asp and I want it to be saved in the /images/products folder.
If I leave the "Upload folder" field in ASP Upload empty then I get the error message:
An error has occured saving uploaded file!
Filename: /maintenance/112007.jpg
Maybe the destination directory does not exist, or you don't have write permission.
Please correct and try again
And if I browse to the "Products" folder so the form field reads "../images/products" (including the inverted commas) then I get the error message:
Filename: /maintenance/../images/products/112007.jpg
Maybe the destination directory does not exist, or you don't have write permission.
Please correct and try again
Does anyone know what I should put into the form to get it to upload to the right location?
Thanks
Richard
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Viktor Farcic
TalkZone Manager
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hi
I am building the administration section for my online store. All files are in the /maintenance directory. I want to upload a file from /maintenance/addpic.asp and I want it to be saved in the /images/products folder.
If I leave the "Upload folder" field in ASP Upload empty then I get the error message:
An error has occured saving uploaded file!
Filename: /maintenance/112007.jpg
Maybe the destination directory does not exist, or you don't have write permission.
Please correct and try again
And if I browse to the "Products" folder so the form field reads "../images/products" (including the inverted commas) then I get the error message:
Filename: /maintenance/../images/products/112007.jpg
Maybe the destination directory does not exist, or you don't have write permission.
Please correct and try again
Does anyone know what I should put into the form to get it to upload to the right location?
Thanks
Richard
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Viktor Farcic
TalkZone Manager