4310
4284
/* we skip empty path components, like "x//y" since the FTP command
4311
4285
CWD requires a parameter and a non-existent parameter a) doesn't
4312
4286
work on many servers and b) has no effect on the others. */
4314
4288
ftpc->dirs[ftpc->dirdepth] =
4315
4289
curl_easy_unescape(conn->data, cur_pos - absolute_dir, len, NULL);
4316
4290
if(!ftpc->dirs[ftpc->dirdepth]) { /* run out of memory ... */