Script Center > Scripting Forums > The Official Scripting Guys Forum! > Pull files from remote server and create current day folder in destination folder
Ask a questionAsk a question
 

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

  • Thursday, July 02, 2009 3:22 PMRoninWarrior Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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. 

All Replies

  • Friday, July 03, 2009 12:32 AMMatthewBeattie Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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 :)