KB Article #46931
Reasons for Error "File Already Exists" during the transfer
Problem
When trying to do a transfer to gateway from the client, getting the error '204, File already exists' on the gateway and client.
Resolution
In general if a file is received in Gateway it will assign a name according to local transfer identifier.
For example : If the transfer ident is 1 then the file name will be F00000001.
This error '204, File already exists' will occur due to re-initialization of mailbox. After re-initialization, all entries from mailbox are deleted and the transfer identifier again begins from 1.So in this case, Gateway refuses the incoming transfer with a 204 diagnostic code, indicating that a record with this ID already exists in the mailbox, without updating it.
To avoid this problem, clean directory for received files that is tmp directory(present in Gateway installation directory\run_time) whenever re-initialization taken place.