Access to portable device via MTP
Moderator: Rathinagiri
Access to portable device via MTP
Hi.
Can anyone try to access the device resources via MTP (e.g. an Android phone connected to a computer via USB)?
I need to be able to copy and download files from such a device from the Harbour level.
I tried to use the hb_vf * function, but without success
Edward.
Can anyone try to access the device resources via MTP (e.g. an Android phone connected to a computer via USB)?
I need to be able to copy and download files from such a device from the Harbour level.
I tried to use the hb_vf * function, but without success
Edward.
- serge_girard
- Posts: 3166
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: Access to portable device via MTP
No idea!
Serge
Serge
There's nothing you can do that can't be done...
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: Access to portable device via MTP
This protocol has some drawbacks, for example, which is more unstable than mass storage and much less compatible.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: Access to portable device via MTP
hbbz2ioedk wrote: ↑Tue Sep 17, 2019 12:01 pm Hi.
Can anyone try to access the device resources via MTP (e.g. an Android phone connected to a computer via USB)?
I need to be able to copy and download files from such a device from the Harbour level.
I tried to use the hb_vf * function, but without success
Edward.
This library implements an I/O driver for BZIP2 compressed streams, it may be used in File IO API functions ( hb_vf*() ) and in transfer RDDs, such as SDF and DELIM.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Re: Access to portable device via MTP
The issue is that most current mobile devices do not support Mass Storage mode and only have support for MTP and/or PTP.danielmaximiliano wrote: ↑Wed Sep 18, 2019 9:23 pm This protocol has some drawbacks, for example, which is more unstable than mass storage and much less compatible.
Last edited by edk on Thu Sep 19, 2019 9:04 am, edited 1 time in total.
Re: Access to portable device via MTP
I don't really know how bz2 compression should affect MTP support. Can you expand it? Any example?danielmaximiliano wrote: ↑Thu Sep 19, 2019 1:07 amhbbz2ioedk wrote: ↑Tue Sep 17, 2019 12:01 pm Hi.
Can anyone try to access the device resources via MTP (e.g. an Android phone connected to a computer via USB)?
I need to be able to copy and download files from such a device from the Harbour level.
I tried to use the hb_vf * function, but without success
Edward.
This library implements an I/O driver for BZIP2 compressed streams, it may be used in File IO API functions ( hb_vf*() ) and in transfer RDDs, such as SDF and DELIM.
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: Access to portable device via MTP
use https://www.mtpdrive.com/download.html mapto drive Z
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Re: Access to portable device via MTP
Hello Daniel.
I know this paid application. I am looking for a solution that I could manage from source code. I found libmtp https://github.com/libmtp/libmtp, I am analyzing if I can use it in HMG. My knowledge of English and C is poor and I don't understand everything.
Thanks.
I know this paid application. I am looking for a solution that I could manage from source code. I found libmtp https://github.com/libmtp/libmtp, I am analyzing if I can use it in HMG. My knowledge of English and C is poor and I don't understand everything.
Thanks.
Re: Access to portable device via MTP
Hi Edward
Refer: Media Transfer Protocol Porting Kit
https://www.microsoft.com/en-in/downloa ... f6eanttd00
Refer: Media Transfer Protocol Porting Kit
https://www.microsoft.com/en-in/downloa ... f6eanttd00
BPD
Convert Dream into Reality through HMG
Convert Dream into Reality through HMG
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: Access to portable device via MTP
Try WebDAV from PlayStore. map Ip local to drive Z, enjoyedk wrote: ↑Fri Sep 20, 2019 5:56 am Hello Daniel.
I know this paid application. I am looking for a solution that I could manage from source code. I found libmtp https://github.com/libmtp/libmtp, I am analyzing if I can use it in HMG. My knowledge of English and C is poor and I don't understand everything.
Thanks.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO