As rev_1318 has already pointed out, you can probably use Net::FTP, but that assumes that you're trying to move files from/to the local system (which would be the web server, as you mentioned this is getting triggered from CGI)
The most useful thing at this point would be to take a step back, and in simple terms, try to explain to us what you are doing. (part of that whole thing that marto was indirectly suggesting, when he told you to read How do I post a question effectively?)
You have more knowledge about your problem than you're told us -- what you're trying to accomplish, the number of systems involved, etc.
Although it's possible to use waitfor() in Net::Telnet as you might use Expect, and then script your FTP connection through that, there might be an easier way -- we just need to know what the parts of the puzzle are that we're trying to deal with, so that you can accomplish your task.
In reply to Re: FTP in TELNET
by jhourcle
in thread FTP in TELNET
by Spydaw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |