qt - Microsoft FTP Service 451 The parameter is incorrect -
i'm trying write ftp client. have 2 ftp servers. first server standard ftp server microsoft. second server written in organization work. program second server works well. program first server receives error: "451 parameter incorrect". can wrong? use qt 4.8.4, windows 7.
... switch(cod) {     case 220:           user=sett.value("userftp",qstring("anonymous")).tostring();        logmessage(codec1->tounicode("Авторизация пользователя ")+user);        buf = qbytearray::fromrawdata("user ",5) + "\n";        sock->write(buf);        logmessage(buf);        break; ... 
i have found bug. used ascii. had use latin 1.
Comments
Post a Comment