permission denied error

Reply

Join Date: Mar 2007
Posts: 11
Reputation: anitha2324 is an unknown quantity at this point 
Solved Threads: 0
anitha2324 anitha2324 is offline Offline
Newbie Poster

permission denied error

 
0
  #1
Jun 9th, 2007
i am doing a small program to create the new text file and insert
data to it , but this new created file not in the server it has to be created
in one of the machines in the network
my code is as the following

<%
dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject")
'set f=fs.CreateTextFile("d:\uploaded_files\newswitch.txt",true)
set f=fs.CreateTextFile("<A href="file://\\172.31.224.99\uploaded_files\newswitch.txt",true">\\172.31.224.99\uploaded_files\newswitch.txt",true)
f.WriteLine("Hello World!")
f.close
set f=nothing
set fs=nothing

%>

but the error indicates that the permission denied , inspite that "uploaded_files"
folder is shared and allow access with read, wirte permissions to "Every One"
not that if i tried to created it in the server then no problem in that as
u can check that by commenting the line 7 and uncommenting the line 6
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 11
Reputation: anitha2324 is an unknown quantity at this point 
Solved Threads: 0
anitha2324 anitha2324 is offline Offline
Newbie Poster

Re: permission denied error

 
0
  #2
Jun 9th, 2007
please check the above attachment file it is my asp file
Attached Files
File Type: zip create.zip (354 Bytes, 8 views)
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC