Lines Matching refs:cmd
85 const char *cmd,
112 static char** ftp_genlist(ftpbuf_t *ftp, const char *cmd, const char *path TSRMLS_DC);
443 ftp_exec(ftpbuf_t *ftp, const char *cmd) in ftp_exec() argument
448 if (!ftp_putcmd(ftp, "SITE EXEC", cmd)) { in ftp_exec()
462 ftp_raw(ftpbuf_t *ftp, const char *cmd, zval *return_value) in ftp_raw() argument
464 if (ftp == NULL || cmd == NULL) { in ftp_raw()
467 if (!ftp_putcmd(ftp, cmd, NULL)) { in ftp_raw()
1076 ftp_site(ftpbuf_t *ftp, const char *cmd) in ftp_site() argument
1081 if (!ftp_putcmd(ftp, "SITE", cmd)) { in ftp_site()
1097 ftp_putcmd(ftpbuf_t *ftp, const char *cmd, const char *args) in ftp_putcmd() argument
1102 if (strpbrk(cmd, "\r\n")) { in ftp_putcmd()
1108 if (strlen(cmd) + strlen(args) + 4 > FTP_BUFSIZE) { in ftp_putcmd()
1114 size = slprintf(ftp->outbuf, sizeof(ftp->outbuf), "%s %s\r\n", cmd, args); in ftp_putcmd()
1117 if (strlen(cmd) + 3 > FTP_BUFSIZE) { in ftp_putcmd()
1120 size = slprintf(ftp->outbuf, sizeof(ftp->outbuf), "%s\r\n", cmd); in ftp_putcmd()
1592 ftp_genlist(ftpbuf_t *ftp, const char *cmd, const char *path TSRMLS_DC) in ftp_genlist() argument
1619 if (!ftp_putcmd(ftp, cmd, path)) { in ftp_genlist()