Other Parts Discussed in Thread: AMIC110
Hi,
I am using ndk_3_61_01_01 to implement FTP in AMIC110.
Now I am facing a problem that FTP works well in transferring some files but it fails when transferring some files.
FTP connection is ok but it looks data transferring has some problem.
In the failure cases, the return value of (int)recvnc(ioh->data_socket, (void**)&(ioh->DataBuf), 0, &hBuffer) is -1, then I get the error code from fdError() is 22.
From serrno.h, it shows the meaning of error code 22 is invalid argument.
I don't understand what "invalid argument" means and also don't understand why there is no problem in transferring some files but fails in some files.
Does anyone has the similar issue? Any idea?
Thank you in advance.
Kind regards,
Sandro