Permissão Negada
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
Curtidas 0