|
Long Island Lune -> RE: fso.CopyFile - Copy File fromClient to Server (11/18/2003 13:22:04)
|
quote:
fso.CopyFile "c:\file.xxx","\\servername\shareddir\file.xxx" sourceFile = Server.Mappath ("C:\source location on your hard drive\your file") destFile = Server.Mappath ("/servername/shareddir") fso.CopyFile sourceFile, destFile, true Do not put the name of the file in destFile, just the path. Reverse the slashes in destFile too. You had them backwards. Check this out: http://www.sloppycode.net/fso/?m=52
|
|
|
|