So, you want to run an script in A that opens a Net::Telnet connection to B and from there drives a SFTP client that connects to C and gets some files from there, right?
The task seems doable through Net::Telnet, what have you tried so far? What issues have you found?
Comment on Re^3: ftp or scp session on a telnet object