Home
last modified time | relevance | path

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

/php-src/ext/ftp/
H A Dftp.h67 int pasv; /* 0=off; 1=pasv; 2=ready */ member
178 int ftp_pasv(ftpbuf_t *ftp, int pasv);
H A Dftp.c793 ftp_pasv(ftpbuf_t *ftp, int pasv) in ftp_pasv() argument
805 if (pasv && ftp->pasv == 2) { in ftp_pasv()
808 ftp->pasv = 0; in ftp_pasv()
809 if (!pasv) { in ftp_pasv()
849 ftp->pasv = 2; in ftp_pasv()
878 ftp->pasv = 2; in ftp_pasv()
1671 if (ftp->pasv && !ftp_pasv(ftp, 1)) { in ftp_getdata()
1688 if (ftp->pasv) { in ftp_getdata()
1690 ftp->pasv = 1; in ftp_getdata()
H A Dphp_ftp.c663 bool pasv; in PHP_FUNCTION() local
665 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Ob", &z_ftp, php_ftp_ce, &pasv) == FAILURE) { in PHP_FUNCTION()
670 if (!ftp_pasv(ftp, pasv ? 1 : 0)) { in PHP_FUNCTION()
/php-src/ext/ftp/tests/
H A Dserver.inc197 if(empty($pasv))
236 if(empty($pasv))
276 if (empty($pasv)) {
331 if(!empty($pasv)){
341 case "pasv":
404 $pasv=true;
454 if (empty($pasv)) {
504 if(empty($pasv)) {

Completed in 30 milliseconds