Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. srigley11

    ftp'ing in a telnet session issue

    Solved it... Lets just say... it wasn't my code at fault ;-) *NEXT* Thanks for the feedback folks!
  2. srigley11

    ftp'ing in a telnet session issue

    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...
  3. srigley11

    ftp'ing in a telnet session issue

    *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
  4. srigley11

    ftp'ing in a telnet session issue

    Yup, have full path in there... Good to hear that it won't try and pull it back to A. oh, also, I chmod 777 the dir its pulled to beforehand too.
  5. srigley11

    ftp'ing in a telnet session issue

    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...

Part and Inventory Search

Back
Top