FTP upload of files using python kivy

143 views
Skip to first unread message

katesfb

unread,
May 8, 2021, 6:29:22 PM5/8/21
to Kivy users support
HI,
We have a remote logging system running a python program  that uploads files to an FTP server. This uses the FTPlib module and uploads over the 3G cell network.

We would like to run this on a cell phone (android) using Kivy. Is this possible? Can the FTPlib module be used directly?

I have had a look at plyer which doesn't have a specific FTP example although i did find an example  using kivy.network.urlrequest.UrlRequest however i am not sure whether this would work uploading to an actual FTP server address.

Any help is much appreciated.

Cheers.

Robert

unread,
May 8, 2021, 9:31:13 PM5/8/21
to Kivy users support
ftplib is a Python system lib should just work.
Google of course is not a fan of ftp, I'd build a very simple test case.
Always a good idea when using a technology new to us.

katesfb

unread,
May 9, 2021, 12:49:35 AM5/9/21
to Kivy users support
Hi Robert,
Thanks for the reply, much appreciated.

OK, looks like i will just give it go and see what happens.

As a matter of interest Python has the SFTP module pysftp - should this just work with Kivy as well when setup for an android device?

Cheers.

Robert

unread,
May 9, 2021, 2:04:38 AM5/9/21
to Kivy users support
pysftp is not a Python system module.
Usual questions apply, first is it pure Python?
Next is it compatible with 3.8+ 
Same answer as before - try a very simple test case.
Reply all
Reply to author
Forward
0 new messages