Operating System - HP-UX
1753427 Members
4816 Online
108793 Solutions
New Discussion юеВ

Re: How to use host commands in an ftp session

 
SOLVED
Go to solution
A. Clay Stephenson
Acclaimed Contributor

Re: How to use host commands in an ftp session

The ownership of the .netrc file must be whatever user is executing the FTP client; however, the logname on the remote machine can be anything. FTP looks in the .netrc file on the client for a matching machine and login name (for the remote machine) and uses the password in the .netrc file just as though you typed all of that in.
If it ain't broke, I can fix that.
Suman_7
Frequent Advisor

Re: How to use host commands in an ftp session

I am trying to use the ftpget.pl and I get this error message. I am new to perl.

Use of reserved word "our" is deprecated at ./myftpget.pl line 87.
Global symbol "$opt_h" requires explicit package name at ./myftpget.pl line 87.
Global symbol "$opt_l" requires explicit package name at ./myftpget.pl line 87.
Global symbol "$opt_a" requires explicit package name at ./myftpget.pl line 87.
Global symbol "$opt_p" requires explicit package name at ./myftpget.pl line 87.
Global symbol "$opt_B" requires explicit package name at ./myftpget.pl line 87.
Global symbol "$opt_A" requires explicit package name at ./myftpget.pl line 87.
Global symbol "$opt_d" requires explicit package name at ./myftpget.pl line 87.
Global symbol "$opt_s" requires explicit package name at ./myftpget.pl line 87.
Global symbol "$opt_t" requires explicit package name at ./myftpget.pl line 87.
Global symbol "$opt_v" requires explicit package name at ./myftpget.pl line 88.
Global symbol "$opt_u" requires explicit package name at ./myftpget.pl line 88.
Global symbol "$opt_z" requires explicit package name at ./myftpget.pl line 88.
Execution of ./myftpget.pl aborted due to compilation errors.
Failed; status = 255; try again later

Please advice

Thanks
Suman
A. Clay Stephenson
Acclaimed Contributor

Re: How to use host commands in an ftp session

You are running a very old version of Perl. This is probably Perl 4 in /usr/contrib. Either install Perl from your application CD's or download from www.perl.org/CPAN or
http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.8.3/
If it ain't broke, I can fix that.