Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

FTP connector methods

The FTP connector methods perform various actions on the File Transfer Protocol server as part of an automation. To enable the methods, you must provide appropriate parameters.

SetConfiguration

Sets the File Transfer Protocol server access details. You must execute this method first.

To provide inputs to the parameters, see Configure port properties.

ParameterDescriptionData port typeData typeDefault valueMandatory?
UrlURL of the File Transfer ProtocolData inStringNoneYes
UsernameUsername to access the File Transfer Protocol server.Data inStringNoneYes
PasswordPassword to access the File Transfer Protocol server.Data inStringNoneYes

CreateFolder

Creates a folder on the File Transfer Protocol server.

To provide inputs to the parameters, see Configure port properties.

ParameterDescriptionData port typeData typeDefault valueMandatory?
FolderNamePath in the File Transfer Protocol server where the folder will be created with the folder name.Data inStringNoneYes
ReturnReturns True if the folder is created, else, returns False.Data outBooleanNoneNot applicable

DeleteFile

Deletes a file in the FTP server.

To provide inputs to the parameters, see Configure port properties.

ParameterDescriptionData port typeData typeDefault valueMandatory?
RemoteFilePathPath to the file you want to remove in the File Transfer Protocol server.Data inStringNoneYes
ReturnReturns True if the file is deleted, else, returns False.Data outBooleanNot applicableNot applicable

DeleteFolder

Deletes the specified folder in the File Transfer Protocol server.

To provide inputs to the parameters, see Configure port properties.

ParameterDescriptionData port typeData typeDefault valueMandatory?
RemoteFolderPathPath to the folder in the File Transfer Protocol server including the folder name.Data inStringNoneYes
ReturnReturns True if the folder is deleted, else, returns False.Data outBooleanNot applicableNot applicable

DownloadFile

Downloads a file from the File Transfer Protocol server to the local drive.

To provide inputs to the parameters, see Configure port properties.

ParameterDescriptionData port typeData typeDefault valueMandatory?
RemoteFilePath to the file in the File Transfer Protocol and the name of the file.Data inStringNoneYes
LocalFilePath in the local drive where the file will be downloaded.Data inStringNoneYes
TimeOutTime after which the request to the File Transfer Protocol server times out.Data inIntegerNoneNo
ReturnReturns True if the file is downloaded, else, returns False.Data outBooleanNoneNot applicable

DownloadFolder

Downloads a folder from the File Transfer Protocol server to the local drive.

To provide inputs to the parameters, see Configure port properties.

ParameterDescriptionData port typeData typeDefault valueMandatory?
RemoteFolderPathPath to the folder in the File Transfer Protocol and the name of the folder.Data inStringNoneYes
LocalFolderPathPath in the local drive where the folder will be downloaded.Data inStringNoneYes
TimeOutTime after which the request to the File Transfer Protocol server times out.Data inIntegerNoneNo
ReturnReturns True if the folder is downloaded, else, returns False.Data outBooleanNoneNot applicable

GetFileList

Returns the list of files in a folder in the File Transfer Protocol server.

To provide inputs to the parameters, see Configure port properties.

ParameterDescriptionData port typeData typeDefault valueMandatory?
RemoteFolderPathPath to the folder in the File Transfer Protocol and the name of the folder.Data inStringNoneYes
ReturnReturns the list of files in the folder.Data outStringNot applicableNot applicable

RenameFile

Renames a file in the File Transfer Protocol server.

To provide inputs to the parameters, see Configure port properties.

ParameterDescriptionData port typeData typeDefault valueMandatory?
RemoteFilePathPath to the file in the File Transfer Protocol server and the name of the file.Data inStringNoneYes
NewNameofFilePath to the file in the File Transfer Protocol server and the new name of the file.Data inStringNoneYes
ReturnReturns True if the name of the file is changed, else, it returns False.Data outBooleanNot applicableNot applicable

RenameFolder

Renames a folder in the File Transfer Protocol server.

To provide inputs to the parameters, see Configure port properties.

ParameterDescriptionData port typeData typeDefault valueMandatory?
RemoteFolderPath to the folder in the File Transfer Protocol server and the name of the folder.Data inStringNoneYes
NewNameofFolderPath to the folder in the File Transfer Protocol server and the new name of the folder.Data inStringNoneYes
ReturnReturns True if the name of the folder is changed, else, it returns False.Data outBooleanNot applicableNot applicable

UploadFile

Uploads a file from the local drive to the File Transfer Protocol server.

To provide inputs to the parameters, see Configure port properties.

ParameterDescriptionData port typeData typeDefault valueMandatory?
LocalFilePathPath to the file in the local drive.Data inStringNoneYes
RemoteFilePathPath to the location in the File Transfer Protocol server.Data inStringNoneYes
ReturnReturns True if the file is uploaded, else, returns False.Data outBooleanNot applicableNot applicable

UploadFolder

Uploads a folder from the local drive to the File Transfer Protocol server.

To provide inputs to the parameters, see Configure port properties.

ParameterDescriptionData port typeData typeDefault valueMandatory?
LocalFolderPathPath to the folder in the local drive.Data inStringNoneYes
RemoteFolderPathPath to the location in the File Transfer Protocol server.Data inStringNoneYes
ReturnReturns True if the folder is uploaded, else, returns False.Data outBooleanNot applicableNot applicable

Parent Topic:FTP