I am trying to copy a file from one folder to another. However when I try to do this I get an error on the line that is attempting to copy that says
Object required: 'D:\ .
I have triple checked the path that I am trying to copy to and it works. The GetFile code works as well. I also checked the permissions and they seem to be set correctly as well.
Any ideas - this is really starting to drive me crazy!!
Thanks guys
Object required: 'D:\ .
Code:
set fso = Server.CreateObject("Scripting.FileSystemObject")
MyFile = fso.GetFile "D:\[URL unfurl="true"]wwwroot\Intranet\DRS\DrawingsPendingApproval\"[/URL] & drawNo & ".dwg")
[b]MyFile.Copy ("D:\wwwroot\Vendor\siteSurvey\")[/b]
I have triple checked the path that I am trying to copy to and it works. The GetFile code works as well. I also checked the permissions and they seem to be set correctly as well.
Any ideas - this is really starting to drive me crazy!!
Thanks guys