Link to home
Start Free TrialLog in
Avatar of saloj
salojFlag for Canada

asked on

file copy one server to another server in asp

Hi i have application on asp
i want to copy file from webserver to dbserver
xxx-oo is my db server


any help would be very much appreciated
dim fs
set fs=Server.CreateObject("Scripting.FileSystemObject")
fs.CopyFile "D:\abc\japan\xxx\"&rsTemp.fields("filename")&"","\\xxx-oo\img\"
 
set fs = nothing

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of NicksonKoh
NicksonKoh
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial