Lines Matching refs:toybuf
77 char *str = toybuf; //toybuf holds response data. in close_stream()
83 error_exit("%s server response: %s", (msg_str) ? msg_str:"", toybuf); in close_stream()
101 if (!fgets(toybuf, sizeof(toybuf)-1, TT.sockfp)) close_stream(NULL); in get_ftp_response()
102 } while (!isdigit(toybuf[0]) || toybuf[3] != ' '); in get_ftp_response()
104 toybuf[3] = '\0'; in get_ftp_response()
105 cmd_status = atolx_range(toybuf, 0, INT_MAX); in get_ftp_response()
106 toybuf[3] = ' '; in get_ftp_response()
161 if (!(pch = strrchr(toybuf, ')'))) goto close_stream; in verify_pasv_mode()
163 if (!(pch = strrchr(toybuf, ','))) goto close_stream; in verify_pasv_mode()
168 if (!(pch = strrchr(toybuf, ','))) goto close_stream; in verify_pasv_mode()
192 sprintf(toybuf, "REST %lu", (unsigned long) sb.st_size); in is_localfile_present()
193 if (get_ftp_response(toybuf, NULL) != REQUESTED_PENDINGACTION) TT.c = 0; in is_localfile_present()
203 while ((len = xread(rfd, toybuf, sizeof(toybuf)))) xwrite(wfd, toybuf, len); in transfer_file()