Opened 15 years ago
Closed 15 years ago
#6018 closed New Feature (duplicate)
PHP FTP Connector for CKFinder 2.x
Reported by: | prdatur | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Server : PHP | Version: | |
Keywords: | Cc: |
Description
Hello,
I've written a php connector which will use ftp nstead of file system commands. Right now, only php5 is supported, because i use my own created FTPStandalone class.
Setup is quite easy You need only to add the following config in ckfinder config.php
$configFTP? = array(
"ip" => "127.0.0.1", "user" => "username", "pass" => "password", "path" => "The/Path/From/FTP_HOME/To/baseurl"
);
path example webserver document root: /var/www/vhosts/domain.de/httpdocs
base path for uploading: /uploads/files/ckfinder
complete path: /var/www/vhosts/domain.de/httpdocs/uploads/files/ckfinder
ftp homedir (complete path) /var/www/vhosts/domain.de/
so the path configuration should be: $configFTP?path? = "/httpdocs/";
this example is based on parallels plesk
feel free to tell me if you like it or what i could do better.
sorry double post, please delete this ticket and use http://dev.ckeditor.com/ticket/6019