Error in opening ftp channel

#1

Hi,
Im trying to implement DOTA on Q2501. i have succefully subscribed to A&D event handler and when i try to use wip_FTPCreateOpts, i get the return value as NULL. can some one help me in succefully implementing DOTA?

Regards,
S. Vanee

0 Likes

#2

ftp_WipHandle = wip_FTPCreateOpts(ftp_DestAddr.Server, ftp_SessionHandler,
NULL, WIP_COPT_USER, ftp_DestAddr.Login, WIP_COPT_PASSWORD,
ftp_DestAddr.Password, WIP_COPT_PASSIVE, ftp_DestAddr.Mode, WIP_COPT_TYPE,
ftp_DestAddr.Type, WIP_COPT_PEER_PORT, ftp_DestAddr.Port, WIP_COPT_END);

there is an example here
viewtopic.php?f=4&t=1348

0 Likes

#3

thanks for the reply. i tried the sample available in the link. the application runs succesfully till the gprs_bearer_handler() call. And, i get the “WIP_BEV_IP_CONNECTED” message as well. but, after that i simply get ERROR message and it does not proceed further…
Pls help on how to proceed.

0 Likes

#4

Are you sure you’ve bought the extra “full IP” feature from your distributor? If not, FTP is disabled. Check the traces (search WIP_NET_OPT_DEBUG_PORT in the forum)

0 Likes

#5

Thanks for ur suggestion fft. I get the following error:
“ERRLOG ftp.c:100: Internet Protocol Feature not activated”
Pls do suggest as to what has to be done now!

0 Likes

#6

i have successfully implemented DOTA. The problem was that the feature was not enabled in the module that i was using.
i need to know to enable the Internet Protocol Feature? When i use at+wcfm=5, i get “00000000”.
Waiting for prompt response.
Also, when i try connecting to one of the ftp sites, i get the error FTP=>425 Can’t Open data connection.
Pls advice.

0 Likes