FTP

Last Updated On 2021-07-16

Version 1MinSDK 7Tutorial Video

A new component


Properties

You can set the below properties in the UI part of the builder.

  • Host - it's a text value which is set to blank by default.
  • Password - it's a text value which is set to blank by default.
  • Port - it's a text value which is set to blank by default.
  • Username - it's a text value which is set to blank by default.

Block Properties

You can set the below blocks properties in the blocks section of the builder.

Host

Set the FTP server host here


Password

Set the FTP server host here


Port

FTP FTP port


Username

Set FTP username


WorkingDirectory

Set the working directory



Methods

You can set the below method blocks in the blocks section of the builder.

Connect

Connects to the FTP Server

DeleteDirectory

Deletes the specified directory

Disconnect

Disconnects the FTP Server

DownloadFile

Downloads the file specified

GetFileList

Returns the list of available files

Login

Logs in the user

Logout

Logs out the user

MakeDirectory

Makes a new directory

Rename

Renames the remote file

UploadFile

Uploads the file specified


Events

You can set the below event blocks in the blocks section of the builder.

ConnectError

Event for ConnectError

Connected

Event for Connected

DisconnectError

Event for DisconnectError

Disconnected

Event for Disconnected

DownloadFailed

Event for DownloadFailed

DownloadSuccessful

Event for DownloadSuccessful

LoginResult

Event for LoginResult

RenameFailed

Event for RenameFailed

RenameSuccessful

Event for RenameSuccessful

UploadFailed

Event for UploadFailed

UploadSuccessful

Event for UploadSuccessful