By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,603 Members | 1,062 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,603 IT Pros & Developers. It's quick & easy.

On file sending

100+
P: 129
Hello friends,
Generally when some systems are in LAN we can pass some files from one computer to another through some commands on command propmt. But through perl programming how is it possible?

For example, in ubuntu we type as following
scp /home/sasi/logo.gif <hostusername>@<host ip>:~
then it asks for the password and after giving correct password it will pass that file to that user.
May 9 '08 #1
Share this Question
Share on Google+
1 Reply

micmast
100+
P: 144
Expand|Select|Wrap|Line Numbers
  1. #!/usr/bin/perl
  2.  
  3. $filesending = `scp ....`;
  4.  
  5.  
May 10 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.