PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV Mobile 2024 → FTPSend with Android via SFTP-Connection
FTPSend with Android via SFTP-Connection
Started by Patrick Schwarz, Jun., 09 2019 10:20 AM - No answer
Posted on June, 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