Resources for IT Professionals > 論壇首頁 > 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

  • Thursday, 2 July, 2009 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. 

所有回覆

  • Friday, 3 July, 2009 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 :)