Search found 1 match

by bingvnn
2015-06-10 02:12
Forum: FileZilla and FileZilla Server Development
Topic: why are there messy code in response after 'MLSD'?
Replies: 1
Views: 2229

why are there messy code in response after 'MLSD'?

i use following code to receive directory detail in data connection. char dirList_buf[BUFFER_DATA]; CString dirList; CString temp; do { Sleep(SLEEP_TIME); temp=""; memset((void*)dirList_buf, 0, BUFFER_DATA); result=recv(dataSocket, dirList_buf, BUFFER_DATA, 0); temp=dirList_buf; dirList+=temp; } whi...