Permissão Negada
07/12/2007
0
Tive uma mensagem de erro que diz ´Permissão Negada´ quando tento copiar um arquivo para outro diretório, na linha:
fs.CopyFile resumo , ´C:\Inetpub\wwwroot\´
O que pode ser?
resumo= ´c:\resumos\´ & Item & ´.txt´
Set fs = Server.CreateObject(´Scripting.FileSystemObject´)
Set textFile = fs.CreateTextfile (resumo)
textFile.WriteLine(textoSelect)
textFile.Close
fs.CopyFile resumo , ´C:\Inetpub\wwwroot\´
fs.CopyFile resumo , ´C:\Inetpub\wwwroot\´
O que pode ser?
resumo= ´c:\resumos\´ & Item & ´.txt´
Set fs = Server.CreateObject(´Scripting.FileSystemObject´)
Set textFile = fs.CreateTextfile (resumo)
textFile.WriteLine(textoSelect)
textFile.Close
fs.CopyFile resumo , ´C:\Inetpub\wwwroot\´
Dvm.a583591
Curtir tópico
+ 0
Responder
Clique aqui para fazer login e interagir na Comunidade :)