It is a different module with an entirely different back-end. See Net::SFTP::Foreign Vs. Net::SFTP Vs. Net::SSH2::SFTP for a discussion of the differences and similarities.
As a tip to the unwary, this thread was started over a decade ago and therefore some of the details in other posts may be out of date and/or of historical interest only.
In reply to Re^3: transfer a file via SFTP
by hippo
in thread transfer a file via SFTP
by cc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |