Searched refs:cwdcount (Results 1 – 2 of 2) sorted by relevance
134 int cwdcount; /* number of CWD commands issued */ member
887 if((conn->data->set.ftp_filemethod == FTPFILE_NOCWD) && !ftpc->cwdcount) in ftp_state_cwd()894 ftpc->cwdcount = 0; /* we count this as the first path, then we add one in ftp_state_cwd()901 ftpc->cwdcount = 1; in ftp_state_cwd()904 PPSENDF(&conn->proto.ftpc.pp, "CWD %s", ftpc->dirs[ftpc->cwdcount -1]); in ftp_state_cwd()2945 ftpc->cwdcount && !ftpc->count2) { in ftp_statemach_act()2948 PPSENDF(&ftpc->pp, "MKD %s", ftpc->dirs[ftpc->cwdcount - 1]); in ftp_statemach_act()2962 if(++ftpc->cwdcount <= ftpc->dirdepth) { in ftp_statemach_act()2964 PPSENDF(&ftpc->pp, "CWD %s", ftpc->dirs[ftpc->cwdcount - 1]); in ftp_statemach_act()2982 PPSENDF(&ftpc->pp, "CWD %s", ftpc->dirs[ftpc->cwdcount - 1]); in ftp_statemach_act()