FTP Server¶
Before you can use the FTP task, you must configure the FTP connection.
You define FTP server connections on the FTP Server setup screen. A connection can be standard, SSL, implicit SSL or SSH (SFTP).
Setup > FTP Servers¶
ID¶
The Id of the FTP Server connection.
Description¶
A useful description for the connection.
Ftp / SSH¶
Specifies whether the connection is FTP or SSH.
Selecting a type displays the entry fields for that connection type.
Server Address¶
The address of the FTP Server. The address can be an IP address or a DNS name.
Server Port¶
The port for the FTP connection.
You only need to specify the port when the FTP service runs on a port other than the default:
- Default port for standard FTP is: 21
- Default port for implicit SSL is: 990
- Default port for SSH is: 22
Username¶
The username for the server.
Password¶
The password for the server.
IMan masks the saved password. The box shows ********, followed by the last three characters when the password is eight or more characters long. Press the eye button beside the box to show the stored password, and press it again to hide it. Showing a stored password needs the Can reveal a stored secret in full permission. To change the password, click in the box and type the new one. Leave the box empty to keep the stored password.
Connection Timeout¶
The time in seconds IMan waits for a connection before it raises an error.
Idle Timeout¶
The time in seconds that a connection can be idle before IMan raises an error.
SSL (FTP Only)¶
Enables the FTP connection to use SSL.
Implicit SSL (FTP Only)¶
Enables the FTP connection to use implicit SSL.
SSH Private Key (SSH Only)¶
When populated, IMan attempts to authenticate with the SSH server using public-key authentication. The matching public key must be installed on the SSH server for the username.
Authentication will succeed if the matching private key is provided.
Key authentication usually replaces a password, but you can also use it together with a password.
The private key can be unencrypted, or encrypted in one of the following forms:
- PKCS8 (-----BEGIN ENCRYPTED PRIVATE KEY-----)
- Proc Type 4 (Proc-Type: 4,ENCRYPTED)
- OpenSSH (-----BEGIN OPENSSH PRIVATE KEY---- and openssh-key-v1)
SSH Key Password (SSH Only)¶
The password for the private key, if it is encrypted in one of the accepted forms.
IMan masks the saved key password in the same way as the Password, with the same eye button.
Retry Settings¶
The retry settings above Test decide how IMan handles a call that fails
for a reason that may pass, such as a dropped connection or a server that is
briefly busy. They apply to FTP, FTPS and SFTP, to the FTP task and to ftp:
file systems that use this server.
Custom retry settings decides where the values come from. Unticked, IMan uses its defaults for an FTP server, shown greyed in the boxes. A later release that improves the defaults changes an unticked record too. Tick it to edit the boxes and keep your own values on this record.
- Retries: how many times IMan retries a failed call before it reports the error, from 0 to 5. 0 turns these retries off.
- First delay (seconds): the wait before the first retry, from 1 to 60.
- Maximum delay (seconds): the longest wait between retries, from 1 to
- It cannot be less than the first delay.
Each wait is double the one before, up to the maximum delay. IMan varies every wait by up to a quarter either way. That keeps many callers from retrying in step.
The defaults for an FTP server are 3 retries, a first delay of 5 seconds and a maximum delay of 20 seconds. The waits are then about 5, 10 and 20 seconds.
What IMan retries¶
Before each retry IMan reconnects, logs in and returns to the directory it was working in. Then it repeats the call.
Over FTP and FTPS, IMan retries:
- a connection IMan cannot open, or a server that sends no greeting;
- a connection lost during an operation;
- the replies 421, 425, 426 and 450.
It never retries a rejected login (530), a missing file or a refused permission (550, 553), or any other 5xx reply.
Over SFTP, IMan retries a connection it cannot open or has lost. It retries a login only when the connection dropped during it. It never retries a wrong password or key, a missing file or a refused permission.
IMan repeats only what is safe to repeat:
- IMan sends an upload again in full.
- A file delete that finds the file already gone counts as done.
- IMan does not repeat creating or deleting a directory when the connection dropped during it. The change may already have reached the server, and the error says so: The connection to the server was lost during the operation, so it may already have taken effect on the server.
What you see¶
When a retry succeeds, the run carries on as if nothing had failed. Each retry writes a line to the FTP task's trace:
When the retries run out, IMan reports the last error with the count added,
such as (after [3] retries), and the usual error handling applies. From then
on, each call on the same task's connection gets one attempt and no retries until a call succeeds.
A server that is down then fails the remaining work quickly, rather than
holding up every record for the full retry time.
IMan makes no retries in the Designer. A preview, or Test on this screen, reports the first failure at once.
An ftp: file system retries in the same way, but writes no retry lines to a
trace.
Test¶
Press Test to check that the connection is valid and working.
IMan displays the results and trace of the connection on the right-hand side. If the test fails, the trace should show the cause.

