Please enable JavaScript to view this site.

Altova FlowForce Server 2021 Advanced Edition

Full path: /system/ftp/rmdir


Deletes a directory from the FTP server.


This function returns Boolean TRUE if execution was successful. If the job execution fails, the outcome depends on the value of the Abort on error parameter, as follows:


If the Abort on error parameter is TRUE (default value), the job execution is aborted. In this case, you can still handle errors by means of protected blocks (see Handling Step Errors).

If the Abort on error parameter is FALSE, the function returns FALSE.


If you intend to use the triggerfile parameter in any FTP function, remember that its path is absolute. For an example, see the FTP store function.






FTP Server


Address of the remote FTP server, either as a URL or IP address.


Mandatory parameter.



The port number used to connect to the FTP server. The default value is 21.

Directory on host


The name of the directory, on the host, from where you want to delete the directory.


Optional parameter.

Login credentials


The username and password of the FTP account, as a FlowForce credential record, see Credentials.


Skip this parameter if the FTP server does not require credentials.

Use passive mode


Use passive mode if connection problems occur (for example, if routers or firewalls are set up to prevent active connections).

Target directory


The name the directory that you want to delete.


Mandatory parameter.

Abort on error


This Boolean parameter determines what should be the return value of the function if the job fails. If Abort on error is FALSE, the function will return Boolean FALSE as well. If Abort on error is TRUE, the job execution is aborted. The default value is TRUE.



The FTP account name of the user allowed access to the files on the remote server.


Optional parameter.

© 2020 Altova GmbH