PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → FTPSend with Android via SFTP-Connection
FTPSend with Android via SFTP-Connection
Iniciado por patrick, jun., 09 2019 10:20 AM - Sem resposta
Publicado em junho, 09 2019 - 10:20 AM
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