[PAID] FtpClient: An extension to communicate to remote server [$5 or INR 350]

On Android 11+, non-media files (like txt, pdf, csv, ...) can be accessed if and only if

  1. the text files are in the ASD or in the Private dir (i.e. were saved there), or
  2. the text files are in one of the Shared folders /Documents or /Download and
    these files were created by the app itself, or
  3. SAF is used.

So the conclusion is:
Your text file cannot be created by the app itself without using SAF (and therefore the app cannot access this text file without SAF either).

1 Like

As you know the server is running on an Android device so you can't create a file in root or any arbitrary directory without getting manage all files permission for the app running server on the other device.

Of course with MANAGE_EXTERNAL_STORAGE permission this would be possible. But I intentionally didn't mention this option, since an app that requests this permission will (most likely) not be allowed in Google's Play Store.

Uploading is Done . :slightly_smiling_face:

But Download getting failed ? :skull_and_crossbones: :open_mouth: :worried: :worried:
getting following message :worried:

Attempt to invoke virtual method 'longorg.apache.commons.net.ftp.FTPFiles.getSize()' on a null object reference

while permission is granted.

File doesn't exist on the server, remote path is not correct probably.

ChangeLog Version 3.1

New Blocks
image

Bug Fixes

  • Fixed major bug in FTPS Client configuration causing crash of apk
    Reported by @Alec_Thom

I believe i might of found another issue.
I'm getting a 504 error. (ISP Host Server not seeing anything there end)
But it seems to be only happening on the Latest Android version.
(the one where WRITE_EXTERNAL_STORAGE doesn't get allowed in permissions)

FTPClient_Config

Any Idea's?

Ps. when you hover over the connect or disconnect , it talks about bluetooth.. (i believe thats only text error)

Hi,
Please pm a sample apk download link.
Also, what ftps modes does the server support?

I will design a apk for you to test,
I just thought it was strange why it works perfectly on a lower android version.<10
but a later version says 504 error.
its not even contacting my FTP server when it is getting the 504 error.
(i asked for server logs)

I will now make a test apk

1 Like

Please include your email address in payment note or contact me after sending payment, otherwise I won't be able to provide you aix file.

I want to buy your ftpclient extension please reply in Dm

i juste send you the payement.
Can you send me aix file
Thank you

1 Like

Thank you.

It's exactly what i was looking for. Thank you

ChangeLog Version 4

New Blocks

image

It is possible to upload multiple files at once.

Changes

  • Migrated to Rush
2 Likes

Sir have made the payment. Please check by UPI.
Can you please send me the extension link.
My email add is --------

this extension ftpclient can be run at kodular/appinventor/niotron?

Yes

run at android sdk 33?

Yes.