PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV Mobile 2024 → FTPSend with Android via SFTP-Connection
FTPSend with Android via SFTP-Connection
Iniciado por Patrick Schwarz, 09,jun. 2019 10:20 - No hay respuesta
Publicado el 09,junio 2019 - 10:20
Hi,

I'm trying to send some data via sftp and the FTPSend Function. The FTPSend function returns as errorinfo: File or directory (!s!) not found or not accesible.
The same command with a normal ftp connection works fine.
I just wrote a most simple testapp for demonstrating

nconNumber is int
nconNumber = FTPConnect("sftp://example.org", "user", "password", 22)
fCreate("helloworld.txt")
bRes is boolean
bRes = FTPSend(nconNumber, "helloworld.txt", "\helloworld.txt")
IF bRes = False THEN
Info(ErrorInfo())
END


Best regards
Patrick