Recommend this page to a friend! |
All requests ![]() |
> | sftp file transfer using php | > | Request new recommendation | > | ![]() |
> | ![]() |
by Bob Squires - 4 years ago (2018-11-24)
0 | I want to transfer files from my local computer to a unix-based remote ftp server that requires secure transfer. |
1. by Max Base - 4 years ago (2019-02-25) Reply
Hello,
Do you want to upload or download a file? Or create,remove file and directory?
0 |
You can use this class to access sftp like that //creating the connection $ftp = new FTP('sftp.myserver.com', 'username', 'password',true); //then upload files //$ftp->put(array $files , $folder); //Default $folder is public_html $ftp->put(['login.php','signup.php'],'htdocs'); |
Recommend package | |
|