Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Copy file to network shared location
#1
Not Solved
Hi All,

My requirement is to access a UNC path/network shared location (e.g.: \\ABC\def.jar\lib\), take backup of a file into the same folder with a new name. For this i am using <FileSystemrObject>.CopyFile method, but its throwing run time error - Permission denied. WHen i do the same operation manually i am getting "Do you want to move or copy file from this zone" popup dialog, if i click on yes button, then the backup file gets created.

But how do i handle this in VBscript?

Anyone please help.

Thanks
Sams
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to paste file location in QTP camillelola 0 1,535 08-09-2018, 10:54 AM
Last Post: camillelola
  Updating Shared repository vinod_3466 3 4,514 06-29-2016, 02:16 PM
Last Post: Ankesh
  Selecting file saved in a location excellentpawan 1 4,060 02-25-2014, 02:05 PM
Last Post: guin.anirban
  QTP 11 - CreateFolder fails to create folder in shared network drive from Windows 7 Pallavi 3 3,595 02-25-2014, 02:04 PM
Last Post: guin.anirban
  Shared Object Repository issue ShekharUlli 2 3,605 09-20-2013, 02:56 PM
Last Post: ShekharUlli

Forum Jump:


Users browsing this thread: 1 Guest(s)