php - Ajaxplorer FTP Passive Mode issues /IIS -


im using ajaxplorer ftp client upload files. small files works great, there problem bigger files (like 3g or more). apparently upload fine, when finishes receive message says file getting copied server,

copying file [my file] ftp server

but couple minutes later, comes this

ftp_fput(): entering passive mode ([my ip address],9,132)

and ajaxplorer stops copying proccess. acording ajaxplorer log error, doesnt nothing useful

info guest error message=ftp_fput(): entering passive mode ([my ip address],195,201)

my php.ini settings following

post_max_size = 20g;

upload_max_filesize = 20g;

memory_limit = 100m

max_input_time = -1

max_execution_time = 0

btw, im using ftp server filezilla version 0.9.41 , getting in log

(000256)24/09/2013 13:52:01 - (not logged in) (192.168.1.116)> connected, sending welcome message...

(000256)24/09/2013 13:52:01 - (not logged in) (192.168.1.116)> 220-filezilla server version 0.9.41 beta

(000256)24/09/2013 13:52:01 - (not logged in) (192.168.1.116)> 220-written tim kosse (tim.kosse@gmx.de)

(000256)24/09/2013 13:52:01 - (not logged in) (192.168.1.116)> 220 please visit http://sourceforge.net/projects/filezilla/

(000256)24/09/2013 13:52:01 - (not logged in) (192.168.1.116)> user admin

(000256)24/09/2013 13:52:01 - (not logged in) (192.168.1.116)> 331 password required admin

(000256)24/09/2013 13:52:01 - (not logged in) (192.168.1.116)> pass *********

(000256)24/09/2013 13:52:01 - admin (192.168.1.116)> 230 logged on

(000256)24/09/2013 13:52:01 - admin (192.168.1.116)> pasv

(000256)24/09/2013 13:52:01 - admin (192.168.1.116)> 227 entering passive mode ([my ip address],196,30)

(000256)24/09/2013 13:54:02 - admin (192.168.1.116)> 421 connection timed out.

(000256)24/09/2013 13:54:02 - admin (192.168.1.116)> disconnected.

well... think thats got, in advance!!


-- [edit] -- ok, kinda solve it. installed , setted iis7 , later disabled firewall. uploads files pretty fine, after copying same server show errors, "it exceed max time" or others, if refresh page, file there. normal take long copy file ftp server? (it takes bit more uploading) im talking big files here (2g or more), smaller files work expected.

ok, solve it! :d

basically upload big files in ajaxplorer must (for windows 7):

  • set following in php.ini

post_max_size = 20g;

upload_max_filesize = 20g;

memory_limit = 100m

max_input_time = -1

max_execution_time = 0

  • install , set iis7 like this

  • in [your path ajaxplorer]/plugins/access.ftp/class.ftpaccessdriver.php line 105 change @set_time_limit(240) @set_time_limit(1000) or whatever need (the numbers timeout in seconds)

im not sure how work in other os maybe useful windows/ajaxplorer users :d


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

c++ - Clear the memory after returning a vector in a function -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -