Return Type | Function name | Arguments |
---|---|---|
hzEcode | hzFtpClient::SetLocalDir | (const hzString&,) |
Declared in file: hzFtpClient.h
Defined in file : hzFtpClient.cpp
Function Logic:
Function body:
hzEcode hzFtpClient::SetLocalDir (const hzString& dir) { FSTAT fs ; if (lstat(*dir, &fs) == -1) return E_NOTFOUND ; if (!ISDIR(fs.st_mode)) return E_TYPE ; m_LocalDir = dir ; /* ** if (_hzGlobal_Debug & HZ_DEBUG_CLIENT) ** threadLog("hzFtpClient::SetLocalDir. Set local directory to %s\n", *m_LocalDir) ; ** */ return E_OK ; }