PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV Mobile 2024 → No syntax of FTPsend is compatible
No syntax of FTPsend is compatible
Iniciado por christophe, 13,ene. 2016 22:46 - 7 respuestas
Publicado el 13,enero 2016 - 22:46
Hi

I'm new to WinDev Mobile 19 so bare with me...

I try to create a WindowsCe program to send files to a server.
When I use FTPSend(connectionid,lcsendfile,EXPRESS_parameters.ftplocatie) the syntax colloring is ok.
But after a while FTPSend becomes red and an error appears in the 'compilation errors' window.

Any idea on what i'm doing wrong?
Publicado el 14,enero 2016 - 13:10
Hi Christophe,


On 1/13/2016 4:46 PM, christophe wrote:
Hi

I'm new to WinDev Mobile 19 so bare with me...

I try to create a WindowsCe program to send files to a server.
When I use
FTPSend(connectionid,lcsendfile,EXPRESS_parameters.ftplocatie) the
syntax colloring is ok.
But after a while FTPSend becomes red and an error appears in the
'compilation errors' window.


What is "a while"? And what is the error message?

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com

> Any idea on what i'm doing wrong?
Publicado el 17,enero 2016 - 11:56
Hi

After 'a while' is when I type the command it is blue. When I go to the next line it is still blue and then after another command or so or when 'nesting' in a IF THEN ... it becomes red and underlined.
If I point the mouse to the command it displays 'No syntax of FTPsend is compatible'

IF EXPRESS_parameters.ftpconnecttype = True
IF FTPSend(connectionid,lcsendfile,EXPRESS_parameters.ftplocatie,"transfert_Progress",FTPASCIIMode) = False THEN
Info("Transfer failed")
END

ELSE
// Transfer in binary mode
IF FTPSend(connectionid,EXPRESS_WIN_scanner.txtlocatie+EXPRESS_WIN_scanner.Txtname,EXPRESS_scanner.ftplocatie, ftpstatus ,FTPBinaryMode) = False THEN
Info("Transfer failed")
END
END
Publicado el 17,enero 2016 - 12:02
very confusing



Miembro registrado
2 mensajes
Publicado el 17,enero 2016 - 16:33
after I type the code it becomes blue when I change something on another line it becomes red.
When I point the mouse to the command it says 'no syntax of ftpsend is compatible'




Publicado el 18,enero 2016 - 01:17
Hi Christophe,

it -MAY- be that lcsendfile is an ansii string instead of unicode (if
you are under android or ios)...

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com


On 1/17/2016 5:56 AM, christophe wrote:
Hi

After 'a while' is when I type the command it is blue. When I go to the
next line it is still blue and then after another command or so or when
'nesting' in a IF THEN ... it becomes red and underlined.
If I point the mouse to the command it displays 'No syntax of FTPsend is
compatible'

IF EXPRESS_parameters.ftpconnecttype = True
IF
FTPSend(connectionid,lcsendfile,EXPRESS_parameters.ftplocatie,"transfert_Progress",FTPASCIIMode)
= False THEN
Info("Transfer failed")
END

ELSE
// Transfer in binary mode
IF
FTPSend(connectionid,EXPRESS_WIN_scanner.txtlocatie+EXPRESS_WIN_scanner.Txtname,EXPRESS_scanner.ftplocatie,
ftpstatus ,FTPBinaryMode) = False THEN
Info("Transfer failed")
END
END
Publicado el 18,enero 2016 - 23:33
and even a simple disconnect is also red... ?
I'm developing for Windows mobile. Is that als
http://hostimage.windev.io/images/ftpsend_2858090a0c40078aec19d612af5796c7.pngo important?
Publicado el 20,enero 2016 - 23:57
Hi

Problem solved
my 'connectionid' wasn't a global variable although the wizard proposed it while typing....
strange