Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
i want to capture the output to a variable, and i dont want to use Net::FTP or any packages, Here i am not getting logged in ftp , can you point me out in right direction or any code changes?#!usr/bin/perl $host = "127.0.0.1"; system("ftp -n $host"); system("pass root xxxxxx"); system("quit");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: system call to ftp
by GrandFather (Saint) on Mar 24, 2012 at 05:46 UTC | |
by Anonymous Monk on Mar 24, 2012 at 11:14 UTC | |
by Khen1950fx (Canon) on Mar 24, 2012 at 11:49 UTC | |
by derby (Abbot) on Mar 24, 2012 at 12:56 UTC | |
by Anonymous Monk on Mar 24, 2012 at 13:11 UTC | |
|
Re: system call to ftp
by JavaFan (Canon) on Mar 24, 2012 at 08:41 UTC |