GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV Mobile 2024
→
FTPSend via SFTP-Connection on Android Device
FTPSend via SFTP-Connection on Android Device
Iniciado por Patrick Schwarz, jun., 09 2019 4:56 PM - Sem resposta
Conecte-se…
Patrick Schwarz
#1
Publicado em junho, 09 2019 - 4:56 PM
Hi,
I'm trying to send a file with FTPSend. Im Connected to the server via sftp. The Connection works, other functions like FTPGet are working too. It seems when I'm connected with sftp the Routine FTPSend cannot find or access the file.
The ErrorInfo Message says: "File or dorectory (!s!) not found or not accessible"
My Code:
n
ConNumber
is int
n
ConNumber
=
FTPConnect
(
"sftp://example.org"
,
"user"
,
"password"
,
22
)
fCreate
(
"helloworld.txt"
)
n
Res
is boolean
b
Res
=
FTPSend
(
n
ConNumber
,
"helloworld.txt"
,
"/"
)
IF
b
Res
=
False
THEN
Info
(
ErrorInfo
(
)
)
END
When I connect with normal ftp it works fine, also in the android Emulator on the PC.
I tested it on a Device running Android 7, and another one running Android 8.
Best regards,
Patrick
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