Let's get this clear...
Your computer runs an FTP server and you can only connect to it via WiFi as the IP address you are connecting to is valid on the local network only?
If you try to connect to that local network IP address via the internet it obviously fails.
Solution:
Get a free
Dyn account.
Then setup a domain name for your home computer.
This works much like having a 'normal' domain name mapped to an IP address but the Dyn domain name that you create is mapped to your home computer's dynamic IP address.
You then need to keep the Dyn server up to date with your current dynamic IP address.
- You can install a client on your home computer that keeps the Dyn server informed of your current dynamic IP address.
- If your router has a built in dynamic DNS client you can configure your router to keep the Dyn server informed of your current dynamic IP address.
This is the better option if your router supports it, there is no need to install a client on your computer and the Dyn server is always kept up to date with your current dynamic IP address even if your computer is switched off.
Does the D-Link DI-614+ have a built in dynamic DNS client?
So you now have a Dyn domain name that can be used to connect to your home computer instead of using a local network IP address.
Update your B4A project to use this Dyn domain name instead of the local network IP address.
Martin.