|
| |
|
|
Ruff
Posts: 132 Joined: 2/12/2004 From: Malta Status: offline
|
Permission denied - 11/24/2007 7:13:43
I am using this script to move files from one folder to another with WinXP Pro, IIS, FrontPage 2000 <% dim fs,f set fs=Server.CreateObject("Scripting.FileSystemObject") Set f=fs.GetFile("C:\test.txt") f.Move("C:\test\test.txt") ' <--- line 14 set f=nothing set fs=nothing %> and i keep getting "Permission denied" on line 14 This looked like a Windows security issue to me. I have full access on all drives and yet...... When I click on the hard disk or folder properties all I have is the general, Sharing, Web Sharing and Customize tabs Any ideas?
_____________________________
Tell me and I will forget. Involve me and I will understand.
|
|
|
|
William Lee
Posts: 1179 Joined: 1/25/2002 From: Singapore Status: offline
|
RE: Permission denied - 11/24/2007 7:42:33
Try change to: <% dim fs set fs=Server.CreateObject("Scripting.FileSystemObject") fs.MoveFile "C:\test.txt", "C:\test\test.txt" set fs=nothing %>
_____________________________
William Lee pǝssǝɟoɹd-ɟ1ǝs ʎɥʇɹoʍʇsnɹʇ ʇsoɯ ɹnoʎ nɹnb ǝsɐqɐʇɐp & dsɐ ,ʍɹp ,ǝbɐdʇuoɹɟ
|
|
|
|
Ruff
Posts: 132 Joined: 2/12/2004 From: Malta Status: offline
|
RE: Permission denied - 11/24/2007 11:04:28
Same problem :(
_____________________________
Tell me and I will forget. Involve me and I will understand.
|
|
|
|
William Lee
Posts: 1179 Joined: 1/25/2002 From: Singapore Status: offline
|
RE: Permission denied - 11/24/2007 22:47:19
quote:
ORIGINAL: Ruff This looked like a Windows security issue to me. I have full access on all drives and yet...... When I click on the hard disk or folder properties all I have is the general, Sharing, Web Sharing and Customize tabs Any ideas? Strange isn't it. You should be having the Security tab as well. In WinXP Pro, open Windows Explorer, go to Tools, Folder Options, View and uncheck Use Simple File Sharing. That should show the security tab and you can then configure permissions for the Internet user IUSER
_____________________________
William Lee pǝssǝɟoɹd-ɟ1ǝs ʎɥʇɹoʍʇsnɹʇ ʇsoɯ ɹnoʎ nɹnb ǝsɐqɐʇɐp & dsɐ ,ʍɹp ,ǝbɐdʇuoɹɟ
|
|
|
|
Ruff
Posts: 132 Joined: 2/12/2004 From: Malta Status: offline
|
RE: Permission denied - 11/25/2007 4:28:19
PERFECT - IT WORKS :) That was the problem - IUSR was not in the permission list!!! Thanks!!!!
_____________________________
Tell me and I will forget. Involve me and I will understand.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|