mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
#18726233 : add passive option for ftp use, (default is to use passive mode)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7314 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d5ff1c4ceb
commit
1fc0517ba2
3 changed files with 11 additions and 1 deletions
|
|
@ -179,6 +179,10 @@
|
|||
return new Object(-1,'msg_ftp_invalid_auth_info');
|
||||
}
|
||||
$_SESSION['ftp_password'] = $this->ftp_password;
|
||||
if($ftp_info->ftp_pasv != "N")
|
||||
{
|
||||
ftp_pasv($connection, true);
|
||||
}
|
||||
|
||||
$target_dir = $ftp_info->ftp_root_path.$this->target_path;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue