Recursos para Profesionales de TI > Página principal de foros > The Official Scripting Guys Forum! > Pull files from remote server and create current day folder in destination folder
Formular una preguntaFormular una pregunta
 

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

  • jueves, 02 de julio de 2009 15:22RoninWarrior Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    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. 

Todas las respuestas

  • viernes, 03 de julio de 2009 0:32MatthewBeattie Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    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 :)