Thursday, July 30, 2009

How can i send a file by PERL program?

sample PERL program to send a file from my computer to another another computer ?

How can i send a file by PERL program?
I would amend the previous poster's advice. Use scp instead of rcp, it's secure, and uses ssh security, so passwords are not involved at all!
Reply:system("rcp filename anothercomputer:");





This will work all sane systems, under some sensible configurations.


If it does not for you, you'll hopefully get the irony, and try coming again, with a little more than a single line question...


No comments:

Post a Comment