Zdroje informací pro profesionály v oboru IT > Domovská stránka fór > The Official Scripting Guys Forum! > Pull files from remote server and create current day folder in destination folder
Odeslat dotazOdeslat dotaz
 

DotazPull files from remote server and create current day folder in destination folder

  • 2. července 2009 15:22RoninWarrior Uživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     
    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. 

Všechny reakce

  • 3. července 2009 0:32MatthewBeattie Uživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     
    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 :)