1.Introduction
Description: Using FtpClient extension you can connect to a FTP server and do various functions such as creating and deleting dirs, uploading and downloading files, etc. This extension supports multiple files uploading and downloading of any directory recursively. FTPS mode comes in handy when you want to have more security while interacting with the server.
Latest Version: 4
Released: January 1, 2021
Last Updated: July 15, 2023
Permissions: android.permission.INTERNET,android.permission.READ_EXTERNAL_STORAGE,android.permission.WRITE_EXTERNAL_STORAGE
2.Blocks
3.Documentation
GotFileList | Event raised after getting file list from serverfileNames | list |
GotDirList | Event raised after getting dir list from serverdirNames | list |
AfterChangeWorkingDirectory | Event raised after ‘ChangeWorkingDirectory’ method with result and new working dirsuccess | boolean newWorkingDir | text |
AfterDeleteFile | Event raised after ‘DeleteFile’ file method with resultsuccess | 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 occurserrorMessage | text |
GotUploadResult | Event raised after getting previous upload resultsuccess | boolean response | text |
GotDownloadResult | Event raised after getting previous download resultsuccess | boolean response | text |
AfterCreateDirectory | Event raised after ‘CreateDirectory’ method with resultsuccess | boolean |
AfterDeleteDirectory | Event raised after ‘DeleteDirectory’ method with resultsuccess | boolean |
OnDownloadProgress | Event raised when downloading progress changesprogress | number |
OnUploadProgress | Event raised when uploading progress changesprogress | number |
MultiUploadProgressed | Event raised when upload progress changes of a file queued in multi uploadlocalFileName | text remoteFileName | text success | boolean |
GotMultiUploadResult | Event raised after uploading multiple files and returns the upload resultresults | dictionary |
ConfigureFTPSClient | Configures FTPSClient (always explicit mode) with given protocolprotocol | 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 serverremoteDirName | text |
DeleteDirectory | Deletes given dir from the serverremoteDir | text |
ChangeWorkingDirectory | Changes current working dir and raises ‘AfterChangeWorkingDirectory’ event with resulttoDir | text |
DeleteFile | Tries to delete given file from the serverremoteFileName | text |
ListFiles | Tries to get files listparentDir | text |
ListDirs | Tries to get dir listparentDir | text |
UploadMultiFiles | Uploads files in bulk instead of single at a timefilesList | list remoteDir | text |
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
You can purchase extension by paying via PayPal and Upi. Please let me know your email address after payment.
Terms and Conditions
- You are buying a digital product and agree to the No Return, No Refund Policy.
- You can use the extension in as many projects as you like and pass the generated apk files to as much end users as you like, also of course you can publish your apk files to Google Play and other services
- This is a single user license for you as App Inventor developer, which means, the extension (aix file) is only for you to use. You are not allowed to pass the extension (aix file) to someone else.
- THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
If you face any issue or have any question, you can always contact me.
Hope it helps!