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

1.Introduction

Description: Using this extension you can connect to a remote server and do various functions such as creating and deleting dirs, uploading and downloading files,etc.
Latest Version: 4
Released: 2020-12-31T18:30:00Z
Last Updated: 2023-07-14T18:30:00Z
Permissions: android.permission.INTERNET,android.permission.READ_EXTERNAL_STORAGE,android.permission.WRITE_EXTERNAL_STORAGE

2.Blocks

image

3.Documentation

Events

GotFileList Event raised after getting file list from server
fileNames | list
GotDirList Event raised after getting dir list from server
dirNames | list
AfterChangeWorkingDirectory Event raised after 'ChangeWorkingDirectory' method with result and new working dir
success | boolean
newWorkingDir | text
AfterDeleteFile Event raised after 'DeleteFile' file method with result
success | boolean
Connected Event indicating that connection to FTP server was successful and you are now logged in
Disconnected Event indicating that you are now logged out and disconnected from server
GotError Event raised when any error occurs
errorMessage | text
GotUploadResult Event raised after getting previous upload result
success | boolean
response | text
GotDownloadResult Event raised after getting previous download result
success | boolean
response | text
AfterCreateDirectory Event raised after 'CreateDirectory' method with result
success | boolean
AfterDeleteDirectory Event raised after 'DeleteDirectory' method with result
success | boolean
OnDownloadProgress Event raised when downloading progress changes
progress | number
OnUploadProgress Event raised when uploading progress changes
progress | number
MultiUploadProgressed Event raised when upload progress changes of a file queued in multi upload
localFileName | text
remoteFileName | text
success | boolean
GotMultiUploadResult Event raised after uploading multiple files and returns the upload result
results | dictionary

Methods

ConfigureFTPSClient Configures FTPSClient (always explicit mode) with given protocol
protocol | text
Connect Tries to connect and login to the FTP server using provided username and password
UploadFile Uploads file on the server from given file path
Use absolute file path
localFileName | text
remoteFileName | text
DownloadFile Downloads file from server to given file path
Use absolute file path
remoteFileName | text
localFileName | text
DownloadDirRecursively Downloads remote dir from server to given local dir
Use absolute file path
remoteDir | text
targetDir | text
overwriteFiles | boolean
Disconnect Tries to close the connection to the FTP server
CreateDirectory Creates a new dir on server
remoteDirName | text
DeleteDirectory Deletes given dir from the server
remoteDir | text
ChangeWorkingDirectory Changes current working dir and raises 'AfterChangeWorkingDirectory' event with result
toDir | text
DeleteFile Tries to delete given file from the server
remoteFileName | text
ListFiles Tries to get files list
parentDir | text
ListDirs Tries to get dir list
parentDir | text
UploadMultiFiles Uploads files in bulk instead of single at a time
filesList | list
remoteDir | text

Properties

UseFTPS Returns whether to use normal FTP connection or secured FTPS connection
Property Type : read-write
Accepts : boolean
ServerAddress Returns the FTP server address
Property Type : read-write
Accepts : text
UserId Returns the username
Property Type : read-write
Accepts : text
UserPass Returns the user's password
Property Type : read-write
Accepts : text
Port Returns the port
Property Type : read-write
Accepts : number
FileType Returns the file type
Property Type : read-write
Accepts : number
FileTypeBinary A constant used to indicate the file(s) being transferred should be treated as a binary image
This is the default file type
Property Type : read-only
Accepts : number
FileTypeASCII A constant used to indicate the file(s) being transferred should be treated as ASCII
Property Type : read-only
Accepts : number

4.Buy

Extension's Price: $5 or INR 350

5.Updates

ChangeLog Version 2

[PAID] FtpClient: An extension to communicate to remote server [$5 or INR 350] - #29 by vknow360

ChangeLog Version 3

[PAID] FtpClient: An extension to communicate to remote server [$5 or INR 350] - #32 by vknow360

ChangeLog Version 3.1

[PAID] FtpClient: An extension to communicate to remote server [$5 or INR 350] - #72 by vknow360

ChangeLog Version 4

[PAID] FtpClient: An extension to communicate to remote server [$5 or INR 350] - #82 by vknow360

Hope it helps!

8 Likes

@Anke kindly unlist this for a moment

How fast you're making extensions
:thinking:
Nice extension!

2 Likes

@Anke kindly list again.

1 Like

Best extension :innocent: :innocent:

1 Like

Great extension! Just tested, works. :+1:

1 Like

Relly Nice Extension @vknow360
Keep it up :innocent: :+1:

1 Like

The download was successful, but the event is not triggered and no notification is received that the download has been completed.

He told me via PM that he is going to fix that ...

1 Like

Always works for me:

My Blocks:

image

Why is it not working for you?

image

In both cases text will be same i.e. true.

1 Like

Yes, sorry, my fault. It works!
I was sure that I only downloaded a very small MP3 file, but it was 13MB and it took a long time until the event was triggered (for whatever reason; possibly a bad internet connection yesterday).

2 Likes

Here is an apk file if you want to test the extension:

Is it possible to set the port for the ftp? And does it work with ftp tls?

Hi @ebbekruse Welcome to the Community

Yes.

Great - and how can I download the extension?

Just send me a gift of $5 :wink:

3 Likes

How and where?

@ebbekruse

Being a new user on the community, you may not yet have enough "credits" to be able to send private messages. @vknow360 will need to private message you with details.

Hi Sunny

I some how didn't see this one before - looks very comprehensive.

Would it be possible to upgrade it from FTP to SFTP?