Home
last modified time | relevance | path

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

/reactos/modules/rosapps/applications/net/ncftp/libncftp/
H A Dcmds.c11 FTPChdir(const FTPCIPtr cip, const char *const cdCwd) in FTPChdir() argument
20 if (cdCwd == NULL) { in FTPChdir()
26 else if (strcmp(cdCwd, "..") == 0) in FTPChdir()
29 result = FTPCmd(cip, "CWD %s", cdCwd); in FTPChdir()
324 if ((newCwd == NULL) || (cdCwd == NULL)) { in FTPChdirAndGetCWD()
338 if (strcmp(cdCwd, "..") == 0) in FTPChdirAndGetCWD()
341 result = RCmd(cip, rp, "CWD %s", cdCwd); in FTPChdirAndGetCWD()
388 if (cdCwd == NULL) { in FTPChdir3()
395 return (FTPChdir(cip, cdCwd)); in FTPChdir3()
401 result = FTPChdir(cip, cdCwd); in FTPChdir3()
[all …]
H A Dncftp.h529 int FTPChdir(const FTPCIPtr cip, const char *const cdCwd);
530 int FTPChdirAndGetCWD(const FTPCIPtr cip, const char *const cdCwd, char *const newCwd, const size_t…
531 int FTPChdir3(FTPCIPtr cip, const char *const cdCwd, char *const newCwd, const size_t newCwdSize, i…
/reactos/modules/rosapps/applications/net/ncftp/ncftp/
H A Dcmds.c432 if ((cdCwd == NULL) || (cdCwd[0] == '\0')) { in nFTPChdirAndGetCWD()
442 cdCwdLen = strlen(cdCwd); in nFTPChdirAndGetCWD()
443 if (strcmp(cdCwd, "..") == 0) { in nFTPChdirAndGetCWD()
446 result = RCmd(cip, rp, "CWD %s", cdCwd); in nFTPChdirAndGetCWD()
485 PathCat(gRemoteCWD, sizeof(gRemoteCWD), gScratchCWD, cdCwd); in nFTPChdirAndGetCWD()
504 Chdirs(FTPCIPtr cip, const char *const cdCwd) in Chdirs() argument
515 if (cdCwd == NULL) { in Chdirs()
521 if ((cdCwd[0] == '\0') || (strcmp(cdCwd, ".") == 0)) { in Chdirs()
528 if ((cdCwd[0] == '.') && (cdCwd[1] == '.') && ((cdCwd[2] == '\0') || IsLocalPathDelim(cdCwd[2]))) { in Chdirs()
529 PathCat(cip->buf, cip->bufSize, gRemoteCWD, cdCwd); in Chdirs()
[all …]
H A Dcmds.h18 int Chdirs(FTPCIPtr cip, const char *const cdCwd);