Android Question FTP missing connection

Sganga61

Member
Licensed User
Longtime User
Good morning everyone.
I'm writing about a major problem caused by a web service provider where I use FTP access to upload and download configuration parameters for several devices controlled by apps developed in B4a and B4i: the provider is PEGASOHOSTING and at this point I do not recommend it to anyone as they do not have an efficient support service: they do not even respond to emails requesting assistance.
For a few days now, although I've been able to access them with standard browsers and Mozilla software, the apps won't connect to FTP in passive mode.
At this point, it could be due to the server returning the wrong IP in the PASV response (probably a private IP behind NAT).
While Mozilla and many browsers ignore this error and continue the connection, the NET libraries of B4a and B4i are rigid and crash: does anyone have a way to circumvent this block?
Hope in good notice.
 

Sganga61

Member
Licensed User
Longtime User
Hi Erel
now the issue is more clear: our provider has disabled the FTP (no SLL) requesting just SSL connection without informing us.

Now, we have a lot of machine with app using simple FTP can't access the remote server: and the provides is missing....

Any workaround?
 
Upvote 0

Sganga61

Member
Licensed User
Longtime User
Does the server support FTP over SSL connections? If so then it is simple to switch to FTPS (explicit mode).
Yes I know. But since the machine required the connection to the server to download the App upgrade.... we can't do anything
 
Upvote 0

Sganga61

Member
Licensed User
Longtime User
Yes the server support SSL over FTP: I try and the app work fine but I can't update all the machine in the world because they need the FTP connection.... It's a very hard situation
 
Upvote 0

Intelemarketing

Active Member
Licensed User
Longtime User
You can connect to https://www.pegasohosting.net/ using FileZilla (or similar) ? (So you can upload a file to the host - this will be the FTPS version)
You have a File on https://www.pegasohosting.net/ you want to download to your users ? (This is the new B4X App which will be using FTPS (explicit mode)
Your users normally run the download via your B4X App using FTP ? (but basic FTP does not work anymore)
You can send an email to your users - Attach a batch file which runs a process that Copies the new File into their machine, OR if they all use the same software you could email the updated App which uses FTPS as an attachment. I normally send the exe file as as txt file (rename YourApp.exe to YourApp.txt so that email doesn't reject it, and get the Customer to rename it YourApp.exe at the other end.)

Have I missed the point?
 
Upvote 0
Top