Okay I have put the code into my scratchpad but i dont really get an error .. the script doesnt quite give an error but it doesnt perform my task set either.
Net::Telnet is for establishing telnet connections. But for FTP, I'd advise to use Net::FTP instead.(as others have stated before, SSH/SFTP would be preferable, but...)