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

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -