Home
last modified time | relevance | path

Searched refs:pasv (Results 1 – 4 of 4) sorted by relevance

/PHP-7.0/ext/ftp/
H A Dftp.h71 int pasv; /* 0=off; 1=pasv; 2=ready */ member
169 int ftp_pasv(ftpbuf_t *ftp, int pasv);
H A Dftp.c737 ftp_pasv(ftpbuf_t *ftp, int pasv) in ftp_pasv() argument
749 if (pasv && ftp->pasv == 2) { in ftp_pasv()
752 ftp->pasv = 0; in ftp_pasv()
753 if (!pasv) { in ftp_pasv()
793 ftp->pasv = 2; in ftp_pasv()
822 ftp->pasv = 2; in ftp_pasv()
1527 if (ftp->pasv && !ftp_pasv(ftp, 1)) { in ftp_getdata()
1544 if (ftp->pasv) { in ftp_getdata()
1546 ftp->pasv = 1; in ftp_getdata()
H A Dphp_ftp.c146 ZEND_ARG_INFO(0, pasv)
882 zend_bool pasv; in PHP_FUNCTION() local
884 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rb", &z_ftp, &pasv) == FAILURE) { in PHP_FUNCTION()
892 if (!ftp_pasv(ftp, pasv ? 1 : 0)) { in PHP_FUNCTION()
/PHP-7.0/ext/ftp/tests/
H A Dserver.inc234 if(empty($pasv))
287 if (empty($pasv)) {
339 if(!empty($pasv)){
349 case "pasv":
404 $pasv=true;

Completed in 24 milliseconds