Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
        $ftp->cwd("$rdir");
        $ftp->get("$file");
        $ftp->quit;
    
  2. or download this
    my $ldir="/path/to/local/script";
    system("mv", "$rdir$/$file", "$ldir");