in reply to how copy dir in NET::SFTP
I think you need to keep in mind that Net::SFTP and other such FTP modules are designed after FTP functions themselves, therefore the idea is to make it like you're giving the commands, just from a program, not a command line.
A solution would be to compare it to what it would take on the command line to copy a directory, and translate that into what programming using the Net::SFTP module is required.
|
|---|