Question
creating directory access denied
hi guys
i'm trying to create a directory in the host and put a picture inside it. well it works on the local machine, but i got an error when i 've executed the code from teh hostmachine... i got this :
Access to the path 'd:\hosting\feras_80\UsersFiles\testuser is denied.
the error appears in the 2nd line
dim dr as io.directory
dr.createdirectory(server.MapPath("/UserFiles/") & txtUserID.text)
SaveAs (Server.MapPath ("/UsersFiles/imgs/") & sFilename)
anyone can helps?
thx alot
i'm trying to create a directory in the host and put a picture inside it. well it works on the local machine, but i got an error when i 've executed the code from teh hostmachine... i got this :
Access to the path 'd:\hosting\feras_80\UsersFiles\testuser is denied.
the error appears in the 2nd line
dim dr as io.directory
dr.createdirectory(server.MapPath("/UserFiles/") & txtUserID.text)
SaveAs (Server.MapPath ("/UsersFiles/imgs/") & sFilename)
anyone can helps?
thx alot
