FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WINDEV Mobile 2024
→
FTPSend via SFTP-Connection on Android Device
FTPSend via SFTP-Connection on Android Device
Iniciado por Patrick Schwarz, 09,jun. 2019 16:56 - No hay respuesta
Conéctese…
Patrick Schwarz
#1
Publicado el 09,junio 2019 - 16:56
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
Informar
0
0
→ Volver a WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto