sftp file transfer using php: I want to find a php package that will perform secure FTP (sftp)

Recommend this page to a friend!
  All requests RSS feed  >  sftp file transfer using php  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

sftp file transfer using php


by Bob Squires - 1 year ago (2018-11-24)

I want to find a php package that will perform secure FTP (sftp)

This request is clear and relevant.
This request is not clear or is not relevant.


I want to transfer files from my local computer to a unix-based remote ftp server that requires secure transfer.

  • 1 Clarification request
  • 1. by Max Base - 1 year ago (2019-02-25) Reply


    Do you want to upload or download a file? Or create,remove file and directory?

    Ask clarification

    1 Recommendation

    PHP SFTP Library: Access FTP and SFTP servers to transfer files

    This recommendation solves the problem.
    This recommendation does not solve the problem.


    by Muhammad Umer Farooq package author package author Reputation 115 - 1 year ago (2018-12-01) Comment

    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
    For more information send a message to info at phpclasses dot org.