PHP Classes

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


Picture of Bob Squires by Bob Squires - 4 years 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. Picture of Max Base by Max Base - 4 years 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.


    Picture of Muhammad Umer Farooq by Muhammad Umer Farooq package author package author Reputation 115 - 4 years ago (2018-12-01) Comment

    You can use this class to access sftp

    like that

    //creating the connection $ftp = new FTP('', '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