perlmonk1984 has asked for the wisdom of the Perl Monks concerning the following question:

To copy files from server,
1) we need to logon to server
2) select files or folders to copy
3) paste it to any drive on local system.......
I need all this to do at one shot,so i want to generate perl script for it.
Can anybody help me out in how to start with please......
Server machine is windows 2000 and we have domain authentication for it so we login to the server through IP Address.
And my Local system is Windows Xp. To run script i installed Activeperl on my machine.
Regards,
Bobby

2006-02-28 Retitled by GrandFather, as per Monastery guidelines
Original title: 'To generate perl script for copying folders and files that are on server to my local system.'

  • Comment on (dup) To generate perl script for copying folders and files that are on server to my local system. ?

Replies are listed 'Best First'.
Re: (dup) To generate perl script for copying folders and files that are on server to my local system. ?
by chargrill (Parson) on Feb 28, 2006 at 05:09 UTC
Re: (dup) To generate perl script for copying folders and files that are on server to my local system. ?
by helphand (Pilgrim) on Feb 28, 2006 at 04:43 UTC

    Why not simply mount a share? I do that from my Linux boxes to Windows boxes all the time, then the Perl script only has to copy the files from one directory (drive) to another.

    Scott

Re: (dup) To generate perl script for copying folders and files that are on server to my local system. ?
by zer (Deacon) on Feb 28, 2006 at 04:54 UTC
    what version is windows 2000?
    what is the protocal you are using to communicate?

    see if it is ftp or sftp enabled.
    if they are Net::SFTP or Net::FTP should help out