Skip to main content

Advanced FTP

Advanced FTP tool allows you to connect to an FTP server and perform operations.

note

Before you start using the tools, make sure you have the rights for the FTP to read, write or delete for folders according to the tool.

Check if a file exists in a directory​

You can check if a file exists in an FTP folder with this tool.

note

In order for this to work, you need to define the full path of the folder, and for the file name, add the extension of the file (ex- yourfilename.pdf)

Input parameters​

SectionParametersUsageMandatory
FTP CONFIGURATIONProtocolFTP or SFTPYes
HostHostname or IP of the serverYes
PortPort through which the connection is setNo
Transfer modePasive / ActiveYes
Transfer typeASCII / BinaryYes
Logon Typeanonymous / normal / key_fileNo
Directory pathPath in the FTP serverYes
File nameName of the file with extensionYes
FTP EncryptionEncryptionMethod to encrypt the connectionNo
Logon type NormalUsernameYour FTP UsernameNo
PasswordYour FTP PasswordNo

Response parameters​

ParameterUsage
messageResult message
errorerror message
error_codeerror code
file_existif the file exist
file_pathPath of the file
files_sizesize of the file
files_size_humansize of the file

Create a folder​

You can create a folder in the FTP with this tool.

Input parameters​

SectionParametersUsageMandatory
FTP CONFIGURATIONProtocolFTP or SFTPYes
HostHostname or IP of the serverYes
PortPort through which the connection is setNo
Transfer modePasive / ActiveYes
Transfer typeASCII / BinaryYes
Logon Typeanonymous / normal / key_fileNo
Directory pathPath in the FTP serverYes
Folder nameName of the folderYes
FTP EncryptionEncryptionMethod to encrypt the connectionNo
Logon type NormalUsernameYour FTP UsernameNo
PasswordYour FTP PasswordNo

Response parameters​

ParameterUsage
messageResult message
errorerror message
error_codeerror code
folder_createdcreated folder
folder_pathPath of the folder

Delete file​

You can delete a file in a specific folder in the FTP with this tool.

Input parameters​

SectionParametersUsageMandatory
FTP CONFIGURATIONProtocolFTP or SFTPYes
HostHostname or IP of the serverYes
PortPort through which the connection is setNo
Transfer modePasive / ActiveYes
Transfer typeASCII / BinaryYes
Logon Typeanonymous / normal / key_fileNo
Directory pathPath in the FTP serverYes
File nameName of the fileYes
FTP EncryptionEncryptionMethod to encrypt the connectionNo
Logon type NormalUsernameYour FTP UsernameNo
PasswordYour FTP PasswordNo

Response parameters​

ParameterUsage
messageResult message
errorerror message
error_codeerror code
file_deletedDeleted folder
folder_pathPath of the folder

Delete folder​

You can delete a folder in the FTP with this tool.

Input parameters​

SectionParametersUsageMandatory
FTP CONFIGURATIONProtocolFTP or SFTPYes
HostHostname or IP of the serverYes
PortPort through which the connection is setNo
Transfer modePasive / ActiveYes
Transfer typeASCII / BinaryYes
Logon Typeanonymous / normal / key_fileNo
Directory pathPath in the FTP serverYes
FTP EncryptionEncryptionMethod to encrypt the connectionNo
Logon type NormalUsernameYour FTP UsernameNo
PasswordYour FTP PasswordNo

Response parameters​

ParameterUsage
messageResult message
errorerror message
error_codeerror code
folder_deleteddeleted folder
folder_pathPath of the folder

Move file or folder​

You can move a file or folder in the FTP with this tool.

note

You need to write file path with file name or directory name in both Old file or directory path and New file or directory path. Picture below:

move file

Input parameters​

SectionParametersUsageMandatory
FTP CONFIGURATIONProtocolFTP or SFTPYes
HostHostname or IP of the serverYes
PortPort through which the connection is setNo
Transfer modePasive / ActiveYes
Transfer typeASCII / BinaryYes
Logon Typeanonymous / normal / key_fileNo
Old file or directory pathPath in the FTP serverYes
New file or directory pathPath of the new folderYes
FTP EncryptionEncryptionMethod to encrypt the connectionNo
Logon type NormalUsernameYour FTP UsernameNo
PasswordYour FTP PasswordNo

Response parameters​

ParameterUsage
messageResult message
errorerror message
error_codeerror code
file_folder_movedName of the file
old_pathPath of the new folder
new_pathPath of the old folder

Download file​

You can download a file from an FTP folder using this.

Input parameters​

SectionParametersUsageMandatory
FTP CONFIGURATIONProtocolFTP or SFTPYes
HostHostname or IP of the serverYes
PortPort through which the connection is setNo
Transfer modePasive / ActiveYes
Transfer typeASCII / BinaryYes
Logon Typeanonymous / normal / key_fileNo
File pathPath in the FTP serverYes
File nameName of the file to downloadYes
FTP EncryptionEncryptionMethod to encrypt the connectionNo

Response parameters​

ParameterUsage
\*The file content
file_nameFile name
file_base6File base64 encoded
messageResult message

List Files from Directory​

You can list all files from a Directory using this tool.

Input parameters​

SectionParametersUsageMandatory
FTP CONFIGURATIONProtocolFTP or SFTPYes
HostHostname or IP of the serverYes
PortPort through which the connection is setNo
Transfer modePasive / ActiveYes
Transfer typeASCII / BinaryYes
Logon Typeanonymous / normal / key_fileNo
File pathPath in the FTP serverYes
RecursivilySelect the option recursively if you want to list the whole directory recursively.No
FTP EncryptionEncryptionMethod to encrypt the connectionNo

Response parameters​

ParameterUsage
files_listList of files
files_list.0File array with its data
files_list.0.pathFile path
files_list.0.detailsFile details
files_list.0.details.permissionsFile permissions
files_list.0.details.number
files_list.0.details.ownerOwner of the file
files_list.0.details.groupFile groud
files_list.0.details.sizeFile size
files_list.0.details.monthMonth it was updated
files_list.0.details.dayDay it was updated
files_list.0.details.timeTime it was updated
files_list.0.details.nameFile name
files_list.0.details.typeFile type
messageResult message

Upload File​

You can upload a file to an FTP Folder using this tool.

Input parameters​

SectionParametersUsageMandatory
FTP CONFIGURATIONProtocolFTP or SFTPYes
HostHostname or IP of the serverYes
PortPort through which the connection is setNo
Transfer modePasive / ActiveYes
Transfer typeASCII / BinaryYes
Logon Typeanonymous / normal / key_fileNo
File pathPath in the FTP serverYes
File nameName of the file that it will have in your FTP server.No
FTP EncryptionEncryptionMethod to encrypt the connectionNo

Response parameters​

ParameterUsage
*

Upload HTML Content​

You can upload an Html generated content using this tool.

Input parameters​

SectionParametersUsageMandatory
GENERALName of objectName the object with a useful text for you to identify itYes
HTML ContentFTP or SFTPYes
FTP CONFIGURATIONProtocolFTP or SFTPYes
HostHostname or IP of the serverYes
PortPort through which the connection is setNo
Transfer modePasive / ActiveYes
Transfer typeASCII / BinaryYes
Logon Typeanonymous / normal / key_fileNo
File pathPath in the FTP serverYes
File nameName of the file that it will have in your FTP server.No
FTP EncryptionEncryptionMethod to encrypt the connectionNo

Response parameters​

ParameterUsage
*