Help for this page

Select Code to Download


  1. or download this
    Can't locate vars.pm in @INC (@INC contains: /opt/kiS600/lib/perl/sun4
    +-solaris-thread-multi /opt/kiS600/lib/perl /usr/local/ActivePerl-5.6/
    +lib/5.6.1/sun4-solaris-thread-multi /usr/local/ActivePerl-5.6/lib/5.6
    +.1 /usr/local/ActivePerl-5.6/lib/site_perl/5.6.1/sun4-solaris-thread-
    +multi /usr/local/ActivePerl-5.6/lib/site_perl/5.6.1 /usr/local/Active
    +Perl-5.6/lib/site_perl .) at /usr/local/ActivePerl-5.6/lib/site_perl/
    +5.6.1/Net/FTP.pm line 14.
    BEGIN failed--compilation aborted at /usr/local/ActivePerl-5.6/lib/sit
    +e_perl/5.6.1/Net/FTP.pm line 14.
    Compilation failed in require at archive_getfile.pl line 3.
    BEGIN failed--compilation aborted at archive_getfile.pl line 3.
    
  2. or download this
    /* this function creates and executes a perl script to fetch a remote 
    +file via FTP */
    int archive_getfile(const char *remotepath,const char *remotefilename,
    +const char *localfilename,const char *ip,const char *user,const char 
    +*pw,int failifnotfound)
    {    
    ...
        return r;
        
    }