PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
FTPSend via SFTP-Connection on Android Device
FTPSend via SFTP-Connection on Android Device
Started by Patrick Schwarz, Jun., 09 2019 4:56 PM - No answer
Connect yourself…
Patrick Schwarz
#1
Posted on June, 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
Report
0
0
→ Go back to WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text