Android Question Help required on copying a file from DUCKDNS domain to Mobile

beelze69

Active Member
Licensed User
Longtime User
Hi All,

1) Need some help on setting up DUCKDNS service My PC directly connects to internet via some Govt.
Broadband.. I have no router..I have enabled Port-forwarding on my Firewall. But it is not working.
Do I need to have a router for this ?
2) Also ..assuming I want to overwrite a sqllite database on my mobile with the latest file hosted on my
PC enabled via DUCKDNS on internet,
a) Can I get a code snippet on how to copy a file to my mobile from my server on duckdns domain to my PC
b) in which folder on my MOBILE should I copy that SQLLITE.DB file to ?

Thanks..
 

beelze69

Active Member
Licensed User
Longtime User
Hi Erel,

I already saw that link and also had set up everything before typing above message.. I have also set up the duckdns update software and my domain also refreshes.. But I am unable to access it from the URL.. It is ramvenk.duckdns.org:54021 . I also tried adding www.ramvenk.duckdns.org:54021 but it is not working... I do not have a ROUTER .. Do I need to have a router for doing this ? ... Also need help on 2a) Can I get a code snippet on how to copy a file to my mobile from my server on duckdns domain to my PC. 2b) in which folder on my MOBILE should I copy that SQLLITE.DB file to ? ... Thanks
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Have you opened the relevant port in your firewall?

Also need help on 2a) Can I get a code snippet on how to copy a file to my mobile from my server on duckdns domain to my PC. 2b) in which folder on my MOBILE should I copy that SQLLITE.DB file to ?
The network should first be configured correctly.
 
Upvote 0

beelze69

Active Member
Licensed User
Longtime User
Yes .. I have allowed Port 54021 in INBOUND as well as OUTBOUND on my firewall.. I am using Windows 7 .. Do I need to have a ROUTER for this ? .. I do not have any router . and ps. help on Question 2b) Which folder on my MOBILE should I copy the SQLLITE.DB file ? .. (where does it exactly reside) ..Sorry, if I am asking some very basic question.. I am unable to do this small thing (copying a file from a remote location to my mobile)...Thanks...
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…