in reply to Transfer Folder Using Net::FTP

Assuming FTP is actually the protocol you want to use, by all means use Net::FTP.

You can find documentation on installed perl modules by typing perldoc ModuleName, in your case perldoc Net::FTP.

It says (amongst other things):

SNOPSYS use Net::FTP; $ftp = Net::FTP->new("some.host.name", Debug => 0) or die "Cannot connect to some.host.name: $@"; $ftp->login("anonymous",'-anonymous@') or die "Cannot login ", $ftp->message; $ftp->cwd("/pub") or die "Cannot change working directory ", $ftp->message;
...
put ( LOCAL_FILE [, REMOTE_FILE ] ) Put a file on the remote server. "LOCAL_FILE" may be a name or a filehandle.
Personally, i'd probably use scp instead. It's much more secure, and with a properly configured key pair, all you need to do is
scp -r localdir remote.host:/remote/dir