in reply to secure ftp using ssl?

I think what you are looking for is an SSH client which usually comes with an sftp, you can use as previously suggested Net::SFTP module in a script or just get the client from the aforementioned link(s).

-enlil