IT 专业人士的资源 > 论坛主页 > The Official Scripting Guys Forum! > Pull files from remote server and create current day folder in destination folder
提出问题提出问题
 

问题Pull files from remote server and create current day folder in destination folder

  • 2009年7月2日 15:22RoninWarrior 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    I was looking for some help here on a script.

    What needs to be done is pull any type of file (txt, csv, log, etc...) from a remote windows servers via copy. 
    But at the destination location, we need to create a current date folder.  Here is a small catch, the file we pull has to be the day before.
    Any help will be greatly appreciate. 

全部回复

  • 2009年7月3日 0:32MatthewBeattie 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Hi

    Do you know the source location of the files you want to copy from the remote sever or do you simply want to copy all files with the extensions .txt, .csv, & .log? Will these files exist on multiple drives\volumes on the remote system? Which scripting language would you prefer to do this? VBScript? PowerShell? Reply back with some more information and i'll see what I can script up.

    Cheers

    Matt :)