Help for this page

Select Code to Download


  1. or download this
    my $CLIENT = "lftp";
    my $connectionString =  "" . $CLIENT . " -d -f script.ftp 2>&1";
    my $result = `$connectionString` or die "\nERROR running $CLIENT: $!";
    return $result;
    
  2. or download this
    [chris@pineapple ss64]$ >bar
    [chris@pineapple ss64]$ lftp -d -f foo > bar
    ...
    ---- Resolving host address...
    ---- 1 address found: 64.131.79.110
    [chris@pineapple ss64]$