Usage of ftp or sftp in perl as a shell commands

2007-02-12 Thread Bhavirisetty, Gangadhara (TCS)
Hi, I'm working on HP-UX 11 and somehow ftp is not working but 'sftp' is working, so I'm trying to use SFTP commands as shell commands within Perl script to transfer a file. Can someone please suggest how can I accomplish and provide sample code, if possible? Thanks in advance!! Thank you, Ganga

Error while compilation --usage of ftp or sftp in perl

2007-02-10 Thread Bhavirisetty, Gangadhara (TCS)
Hi, While compiling the perl script to ftp the files to remote server, I'm getting the following error. Can you please advice the reason and solution as well? Can't locate Net/sftp.pm in @INC (@INC contains: /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi /opt/perl/lib/5.8.3 /opt/perl/lib/site_pe