Open JWGracht opened 9 years ago
Good idea. Feel free to fork the repo and create a pull-request.
Hi,
Was anyone able to add a SFTP/FTPS connection to codetransfer? It would really be helpful.
Sorry Andr3as, I see I did not response to your labels.
SCP didn't really work on most of the SFTP server I've tried it on. Plus if SCP did work it would not allow directory creation, file deletion and remote file edit, which is the main reason why I need SFTP.
On other webserver FTP apps, I noticed that they also don't have an SFTP option. But when you switch the option to "Passive On" and used Port 22, SFTP works. Is it possible to do this in Codetransfer?
I added ftps with 678137c, sftp follows as soon as I find some time.
Thank you so much for the ftps addition. Can't wait for the sftp. Thank you again.
I hope all is well. Have you had time to consider adding SFTP to Codetransfer? I just wanted to see if there is an update. Thank you so much.
Hi Andr3as,
I don't know if I can contribute to this plugin? But I like to add a ftp-secure (ftps) option to the FTP codetransfer. Some servers I work with are using FTPS instead of regular FTP for more security.
I was thinking to add to the FTP screen a radio button when or when not FTPS is used. In the class.ftp.php it is then:
///////////////////////////////////////////////////////////////////////// // Connect remote server ///////////////////////////////////////////////////////////////////////// private function connect() { if(radiobutton==active){$connection_id = ftp_ssl_connect($_SESSION['ftp_host'], $_SESSION['ftp_port']);} else{$connection_id = ftp_connect($_SESSION['ftp_host'], $_SESSION['ftp_port']);}