GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV Mobile 2024
→
FTP using FTPES
FTP using FTPES
Iniciado por GS IT, set., 30 2023 10:27 AM - 1 resposta
Conecte-se…
GS IT
#1
Publicado em setembro, 30 2023 - 10:27 AM
Hi,
We are using Windev Mobile 28 and the following code. It works when we are on the same network as the FTP server but externally we get a timeout. We have tried increasing the timeout but that seems to be ignored.
Externally the ftp connection does work with tools like Filezilla but Filezilla prompts to trust the connection.
If we comment out the FTp.Ignore error, it does not connect. We have tried both on Android and IOS. Anyone have any ideas.
Quite simply we need to send picture files from a mobile device to a server. Is there any other recommended way to do this?
xnum
is int
FTP.IgnoreError
=
ftpIgnoreExpiredCertificate
+
ftpIgnoreInvalidCertificate
+ ...
ftpIgnoreInvalidCertificateName
+
ftpIgnoreRevocation
xnum
=
FTPConnect
(
"ftpes://My_Server_IP"
,
"My_User"
,
"My_Password"
,
21
,
True
)
IF
xnum
=
-
1
THEN
Info
(
ErrorInfo
(
errMessage
)
)
ELSE
Info
(
"OK"
)
END
Denunciar
0
0
GS ICT
#2
Publicado em outubro, 03 2023 - 3:32 PM
We have done more testing.
These are our findings
ftpes - works with every other application (online, mobile or windows) apart from Windev mobile - testing on Android App where it times out. I think this is something to do with ignoring certificates not working correctly.
ftpes - works on the internal network (same network as the FTP server) with Windev mobile.
ftp - this works with Windev mobile - testing on Android App regardless on and off the network.
We have a self signed certificate and are using filezilla ftp server. How do we get Windev mobile to accept the self signed certificate. We can then test ftpes with that option but cannot find any example code instead of ignoring the certificate.
The work around is to use ftp, but that is not the best really.
Denunciar
0
0
→ Voltar para WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto