Help for this page

Select Code to Download


  1. or download this
       sub removeRemoteFile {
          my $file = shift;
    ...
          }
          return FALSE;
       }
    
  2. or download this
       sub removeRemoteFile {
          my %args = @_;
    ...
          }
          return FALSE;
       }
    
  3. or download this
       sub getFile {
          my %args  =  @_;
    ...
          unlink "$args{LOCAL}/$name"   if -f "$args{LOCAL}/$name";
          return FALSE;
       }
    
  4. or download this
       for my $file ( ... ) {
          if (getFile( ... )) {
    ...
             warn "Couldn't download $args{REMOTE}/$file!\n";
          }
       }