Home
last modified time | relevance | path

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

/PHP-8.0/ext/ftp/
H A Dftp.h67 int pasv; /* 0=off; 1=pasv; 2=ready */ member
177 int ftp_pasv(ftpbuf_t *ftp, int pasv);
H A Dftp.c773 ftp_pasv(ftpbuf_t *ftp, int pasv) in ftp_pasv() argument
785 if (pasv && ftp->pasv == 2) { in ftp_pasv()
788 ftp->pasv = 0; in ftp_pasv()
789 if (!pasv) { in ftp_pasv()
829 ftp->pasv = 2; in ftp_pasv()
858 ftp->pasv = 2; in ftp_pasv()
1630 if (ftp->pasv && !ftp_pasv(ftp, 1)) { in ftp_getdata()
1647 if (ftp->pasv) { in ftp_getdata()
1649 ftp->pasv = 1; in ftp_getdata()
H A Dphp_ftp.c680 zend_bool pasv; in PHP_FUNCTION() local
682 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rb", &z_ftp, &pasv) == FAILURE) { in PHP_FUNCTION()
690 if (!ftp_pasv(ftp, pasv ? 1 : 0)) { in PHP_FUNCTION()
/PHP-8.0/ext/ftp/tests/
H A Dserver.inc232 if(empty($pasv))
271 if(empty($pasv))
311 if (empty($pasv)) {
366 if(!empty($pasv)){
376 case "pasv":
435 $pasv=true;
521 if(empty($pasv)) {

Completed in 18 milliseconds