Anirban Adhikary wrote:
Yogesh Sawant wrote:
On Thu, Feb 26, 2009 at 1:47 PM, Anirban Adhikary <
anirban.adhik...@gmail.com> wrote:
I want to write a program which can copy files from remote machine ( like
scp) using perl network programming.Is it possible to create such program?
how about us
I am not able to use any module .
On Thu, Feb 26, 2009 at 2:05 PM, Yogesh Sawant wrote:
> On Thu, Feb 26, 2009 at 1:47 PM, Anirban Adhikary <
> anirban.adhik...@gmail.com> wrote:
>
>> Dear list
>> I want to write a program which can copy files from remote machine
On Thu, Feb 26, 2009 at 1:47 PM, Anirban Adhikary <
anirban.adhik...@gmail.com> wrote:
> Dear list
> I want to write a program which can copy files from remote machine ( like
> scp) using perl network programming.Is it possible to create such program?
>
how about using CPAN module Net::SCP -
http
Dear list
I want to write a program which can copy files from remote machine ( like
scp) using perl network programming.Is it possible to create such program?
If yes then can you give me some examples or tutorials web site name from
where I can proceed.
Thanks & Regards
Anirban Adhikary.
On Wed, 9 Feb 2005, Nilay Puri, Noida wrote:
> I need to write a script
> 1. to copy files from A server to B server.
> 2. after checking the non-existence of the files in 2 server.
>
> How to do it through perl script ?
>
> If I use ftp to copy files, is there any flag for mput whih will tel
Hi All,
I need to write a script
1. to copy files from A server to B server.
2. after checking the non-existence of the files in 2 server.
How to do it through perl script ?
If I use ftp to copy files, is there any flag for mput whih will tell me if
the file already exists in B server.
Like, it
File::Copy does the opening/closing of files for you. You might be messing
things up by doing an open/close around the copy operation (though I can't
see why myself). Try just:
--
#!/usr/bin/perl -w
use strict;
use File::Copy;
copy("temp.htm", "lmi/aol.htm");
Hi!
I want to copy "temp.htm" to "aol.htm"
Why doesn't this code work ?
#!/usr/bin/perl -w
open(TEMP, "+>temp.htm");
open(FICHIER,">lmi/aol.htm");
use File::Copy;
copy("temp.htm","lmi/aol.htm") ;
close FICHIER;
close TEMP;
Thanks
Franck
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit