Hello!
I’m trying to connect FTP server using Q2686H with WIP 2.00.15.
FTP server is passive, so SRC_ISPASSIVE = FALSE, connection is not anonymus.
I opened gprs bearer, all OK, then i’m trying to create FTP connection using this code, but always recive FTP ERROR:
wip_channel_t ftp_WipHandle;
....................................
ftp_WipHandle = wip_FTPCreateOpts (
SRC_SERVER, ftp_SessionHandler, NULL,
WIP_COPT_USER, SRC_USER,
WIP_COPT_PASSWORD, SRC_PASSWORD,
WIP_COPT_PASSIVE, SRC_ISPASSIVE,
WIP_COPT_END);
if( ! ftp_WipHandle)
{
adl_atSendResponse(ADL_AT_RSP, "\r\nFTP ERROR\r\n");
}
else
adl_atSendResponse(ADL_AT_RSP, "\r\nFTP STARTED OK\r\n");
Can anybody tell me what is wrong!