diff --git a/src/client.cpp b/src/client.cpp index 92794bb..c01c73b 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -167,7 +167,7 @@ public: } else if (cmd == "MKD") { if (state >= FTP_STATE_AUTHED) { struct file_data fd = filer->createDirectory(argstr); - if (fd.error.code == 0) submit(257, "\""+std::string(fd.path)+"\" directory created"); + if (fd.error.code == 0) submit(257, "\""+std::string(fd.relpath)+"\" directory created"); else if (fd.error.code == FilerStatusCodes::FileExists) submit(521, fd.error.msg); else submit(550, fd.error.msg); } else submit(530, "Not logged in");