nope, not what I thought it might be...
Telnet bit in script A:
my $t = new Net::Telnet (Timeout => 7200);
$t->open("SERVERB");
$t->login("myusrname", "mypwd");
my @lines=$t->cmd("cd /home/user1/");
print @lines;
@lines=$t->cmd("perl scriptb.pl arg1 arg2");
print @lines;
ftp bit in script...
*DOH!* think you might have it... (cd'ing vs /home/user/script.pl) that sounds like something I'd do ;-)
if this was the case then yes "Access Denied" would appear.
Will check in the morning!
Many thanks!
Steve
Hi,
Quick question ...
I have Perl script A on server A that telnets to server B where it starts perl script B. This script amongst other tasks, ftp's to yet another server and pulls a file back to server B. The issue? When the script hits ftp->get it fails with "access denied".
Now.. if I start...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.