v4.5.0: External storage mounting FTP
v4.5.0, PostgreSQL. When I mount ftp according to instructions (http://owncloud.org/support/custom-mount-configuration/). I do not choose the option security, but in the apache logs I see:
[11:28:28 2012][error][client 10.20.139.3] PHP Warning: filetype(): Lstat failed for ftps://ftp:[email protected] in /usr/local/www/owncloud/apps/files_external/lib/streamwrapper.php on line 32, referer: http://owncloud.ex2.com/?app=files [11:28:29 2012][error][client 10.20.139.3] PHP Warning: mkdir(): Unable to connect to ftps://ftp:[email protected] in /usr/local/www/owncloud/apps/files_external/lib/streamwrapper.php on line 14, referer: http://owncloud.ex2.com/?app=files [11:28:29 2012][error][client 10.20.139.3] PHP Warning: filetype(): Lstat failed for ftps://ftp:[email protected] in /usr/local/www/owncloud/apps/files_external/lib/streamwrapper.php on line 32, referer: http://owncloud.ex2.com/?app=files
Why ftps?
in mount.php:
return array ( 'user' => array ( 'user1' => array ( '/user1/files/FTP1' => array ( 'class' => 'OC_Filestorage_FTP', 'options' => array ( 'host' => 'ftp.ex.com', 'user' => 'ftp', 'password' => 'ftp', 'root' => '/', 'secure' => 'false', ),), ), ), );
I can't reproduce this behavior in any way
this is bug and when i'm trying to modify ftp.php to push it using ftp rather than ftps its giving me lstat failed
@icewind1991 how can we nail down this issue? Any ideas? THX
The problem was caused by the use of the string 'false' in the config instead of the boolean false
is it possible to backport?
Thanks :-)