Reputation: 33
I'd like to know how can I copy a file from localhost to the remote server using the phpseclib library? Which functions within the library would achieve this?
Upvotes: 0
Views: 2458
Reputation: 86
Check this example. if you use the latest version of phpseclib you should use SOURCE_LOCAL_FILE const instead of NET_SFTP_LOCAL_FILE.
Upvotes: 1