thanks a lot.
See my config.php :
$GLOBALS['uploadType'] = 'ftp';
$GLOBALS['ftphost'] = '192.168.0.64';
// normally this settings is ok
$GLOBALS['ftpport'] = '21';
// same as above
$GLOBALS['ftpuser'] = 'user';
$GLOBALS['ftppass'] = 'password'';
//$GLOBALS['ftppath'] = '/var/www/docebo/';
$GLOBALS['ftppath'] = '/var/www/docebo';
$GLOBALS['where_files'] = '/files';
and I can upload files From FTP by user&password.
See my server phpinfo:
Info about PHP
PHP version 5.2.6-3ubuntu4.1
"safe_mode" configuration On
Configuration of "register_global" Off
Configuration of "magic_quotes_gpc" Off
Configuration of "upload_max_filesize" 24M
Configuration of "post_max_size" 24M
Configuration of "max_execution_time" 300s
LDAP PHP extension Off Consider this parameter only if you need to authenticate through LDAP
Configuration of "allow_url_include" Off
also my server have enough free disk space.
You can see the below text,it is my server's info:
netxiong@netxiong-desktop:/var/www/docebo/files/doceboLms/scorm/1039_76_1255419125_scorm_package_flash.zip_content$ ls -l
总用量 0
-rw-rw-rw- 1 docebo docebo 0 2009-10-13 15:32 adlcp_rootv1p2.xsd
-rw-rw-rw- 1 docebo docebo 0 2009-10-13 15:32 imscp_rootv1p1p2.xsd
-rw-rw-rw- 1 docebo docebo 0 2009-10-13 15:32 imsmanifest.xml
-rw-rw-rw- 1 docebo docebo 0 2009-10-13 15:32 imsmd_rootv1p2p1.xsd
-rw-rw-rw- 1 docebo docebo 0 2009-10-13 15:32 ims_xml.xsd
-rw-rw-rw- 1 docebo docebo 0 2009-10-13 15:32 test.html
-rw-rw-rw- 1 docebo docebo 0 2009-10-13 15:32 test.swf
netxiong@netxiong-desktop:/var/www/docebo/files/doceboLms/scorm/1039_76_1255419125_scorm_package_flash.zip_content$ df -k
host/ubuntu/disks/root.disk
3875344 1751532 1928500 48% /
tmpfs 768068 0 768068 0% /lib/init/rw
varrun 768068 364 767704 1% /var/run
varlock 768068 0 768068 0% /var/lock
udev 768068 144 767924 1% /dev
tmpfs 768068 112 767956 1% /dev/shm
/dev/sda5 20472816 11967408 8505408 59% /host
lrm 768068 2192 765876 1% /lib/modules/2.6.28-13-generic/volatile
/dev/loop1 968808 369732 550248 41% /home
/dev/loop2 3875344 2962760 717272 81% /usr
But also have error, WHY?????