Script to upload file to sftp server with php without any library using cURL.
it requires ssh2 extension, make sure you have enables ssh2 extension. then paste file name, sftp server, sftp username, sftp password, sftp port in index.php file and run.
- Salman [email protected]