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 a telnet session from A to B manually (as on the command prompt not in a scripy, same login + password) and kick off script B.. it works perfectly.. ftps to the next server, gets the file and processes it.
Could it be because the ftp session is trying to pass the file back to server A ?
I'll post my telnet code tomorrow (don't have it to hand), its pretty much a connect, login, run "perl scriptB arg1 arg2", disconnect.
Cheers!
Steve
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 a telnet session from A to B manually (as on the command prompt not in a scripy, same login + password) and kick off script B.. it works perfectly.. ftps to the next server, gets the file and processes it.
Could it be because the ftp session is trying to pass the file back to server A ?
I'll post my telnet code tomorrow (don't have it to hand), its pretty much a connect, login, run "perl scriptB arg1 arg2", disconnect.
Cheers!
Steve