in reply to Net::FTP is not working

If you have trixy things in your file, why not have your script zip (or otherwise archive) the files before sending them to their destination?

Then you'd have to send them in binary mode.

@_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;