Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

creating directory access denied

New Here ,
Dec 19, 2006 Dec 19, 2006
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
TOPICS
Server side applications
216
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 21, 2006 Dec 21, 2006
You need the hosts to set the permissions on the server to allow anoymous
web client to create directorys.

--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver

Valleybiz Internet Design
www.valleybiz.net

"Feras_86" <webforumsuser@macromedia.com> wrote in message
news:emapmq$t98$1@forums.macromedia.com...
> 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
> Line 229: Text
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 21, 2006 Dec 21, 2006
LATEST
i got it.. thx man 🙂
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines