wip_putFile Error 425 on channel 0x180d6db4


#1

Hello,i have a problem with command wip_putFile. the module is Q2686H Firmware 663,OpenAt4.24 and WIP 3.10.
The problem is whit Sim M2M Vodafone, instead with TIM and WIND is ok in Italy.
when start download of byte on server ftp, the wip_putFile return NULL pointer of the file to write, why with sim Vodafone ?, but with TIM and WIND is ok.

FTP Init ******************Inizializzazione connessione GPRS *****************
°->Scrivi_DATO_FLH
[GPRS]: open: -> DISCONNECTED
°->Leggi_PARAM_FLH_ID
VODAFONE ITALIA
[GPRS]: start: -> CONNECTING
[GPRS]: GPRS EVENT SETUP OK (cid=1): GPRS activate
GPS RMC-> RMC,083559.00,A,4717.11437,N,00833.91522,E,0.004,77.52,091202,,,A/
[GPRS]: GPRS EVENT ACTIVATE OK (cid=1): FCM open
[GPRS]: FCM subscribe: 103
[GPRS]: FCM EVENT FLOW OPENNED: -> CONNECTED
Opening FTP connection...
°->Leggi_PARAM_FLH_ID
°->Leggi_PARAM_FLH_ID
°->Leggi_PARAM_FLH_ID
[FTP=>] "220 Please visit http://sourceforge.net/projects/filezilla/"
[FTP<=] USER  xxxxxx

[FTP=>] "331 Password required for perif_downl"
[FTP<=] PASS xxxxxx


[FTP=>] "230 Logged on"
[FTP<=] TYPE I

[FTP=>] "200 Type set to I"
°->evh_cx
WIP_CEV_DONE Put File
[FTP<=] PORT 91,80,64,63,4,205
[FTP=>] "200 Port command successful"
[FTP<=] STOR 707470141372403.dat

[FTP=>] "150 Opening data channel for file transfer."
[FTP=>] "425 Can't open data connection."
°->evh_cx
evh_ch WIP_CEV_ERROR
Error 425 on cx channel°->evh_data
evh_data WIP_CEV_ERROR

Error 425 on channel 0x180d6db4
[WIP] Error: ch_channel.c:116: WIP API call with NULL as a channel
[WIP] closing TCPSERVER 0x180d6d74
[WIP] closing WRAPPER 0x180d6db4
[WIP] closing FTP_CONTROL 0x180d5854
[FTP<=] QUIT

[WIP] closing TCPCLIENT 0x180d6b34

Close GPRS
[GPRS]: stop: FCM close -> DISCONNECTING
[GPRS]: FCM unsubscribe (103)
[GPRS]: FCM EVENT FLOW CLOSED: GPRS deactivate
[GPRS]: GPRS EVENT: 2 (cid=1)
[GPRS]: GPRS EVENT DEACTIVATE OK/KO (cid=1): -> DISCONNECTED
[GPRS]: close: -> CLOSED

Thanks


#2

something to do with active/passive ftp?
maybe Sim M2M Vodafone isn’t allowing the type of data-transfer you’re trying to set-up?


#3

Hi Madouc,
the connection is
dst_ftp_cx = wip_FTPCreateOpts (
DST_SERVER, evh_cx, NULL,
WIP_COPT_USER, DST_USER,
WIP_COPT_PASSWORD, DST_PASSWORD,
WIP_COPT_PASSIVE, DST_ISPASSIVE,
WIP_COPT_END);

WIP_COPT_PASSIVE, DST_ISPASSIVE is the parameter ?, what is the meaning of the parameter?

Thanks


#4

that seems to be the parameter.

you should look up information on FTP on the internet.
Active or passive is a about different ways to set the port for the acual data-transfer.


#5

Yes the problem is il WIP_COP_PASSIVE , TRUE, the correct value, for all network operator.

Thanks for help.