The data member is effectively unused since inception in 1997 commit
3fdadc7 and is in the way of other FTP fixes.
This is a Measurement Factory project.
char *filepath;
char *dirpath;
int64_t restart_offset;
- char *proxy_host;
size_t list_width;
String cwd_message;
char *old_filepath;
filepath(nullptr),
dirpath(nullptr),
restart_offset(0),
- proxy_host(nullptr),
list_width(0),
old_filepath(nullptr),
typecode('\0')
if (!ftpState || !ftpState->haveControlChannel("ftpSendUser"))
return;
- if (ftpState->proxy_host != nullptr)
- snprintf(cbuf, CTRL_BUFLEN, "USER %s@%s\r\n", ftpState->user, ftpState->request->url.host());
- else
- snprintf(cbuf, CTRL_BUFLEN, "USER %s\r\n", ftpState->user);
+ snprintf(cbuf, CTRL_BUFLEN, "USER %s\r\n", ftpState->user);
ftpState->writeCommand(cbuf);