|
No syntax of FTPsend is compatible |
Started by christophe, Jan., 13 2016 10:46 PM - 7 replies |
| |
| | | |
|
| |
Posted on January, 13 2016 - 10:46 PM |
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? |
| |
| |
| | | |
|
| | |
| |
Posted on January, 14 2016 - 1:10 PM |
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? |
| |
| |
| | | |
|
| | |
| |
Posted on January, 17 2016 - 11:56 AM |
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 IF FTPSend(connectionid,EXPRESS_WIN_scanner.txtlocatie+EXPRESS_WIN_scanner.Txtname,EXPRESS_scanner.ftplocatie, ftpstatus ,FTPBinaryMode) = False THEN Info("Transfer failed") END END |
| |
| |
| | | |
|
| | |
| |
Posted on January, 17 2016 - 12:02 PM |
very confusing
|
| |
| |
| | | |
|
| | |
| |
Registered member 2 messages |
|
Posted on January, 17 2016 - 4:33 PM |
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'
|
| |
| |
| | | |
|
| | |
| |
Posted on January, 18 2016 - 1:17 AM |
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 IF FTPSend(connectionid,EXPRESS_WIN_scanner.txtlocatie+EXPRESS_WIN_scanner.Txtname,EXPRESS_scanner.ftplocatie, ftpstatus ,FTPBinaryMode) = False THEN Info("Transfer failed") END END |
| |
| |
| | | |
|
| | |
| |
Posted on January, 18 2016 - 11:33 PM |
| |
| |
| | | |
|
| | |
| |
Posted on January, 20 2016 - 11:57 PM |
Hi
Problem solved my 'connectionid' wasn't a global variable although the wizard proposed it while typing.... strange |
| |
| |
| | | |
|
| | | | |
| | |
|