My code is using pub.client:ftp service to put file to ftp server, seems there has no response from the server, and it will retry 3 times, in FTP server side, that file will be put three times.
How to avoid this situation and where can I set this retry number and where can I ignore this retry.
Do you mean that you see 3 copies of files in the server or filename contains timestamp value?
did you try setting “putunique” pub.client:ftp field in the service?
You can try another approch develop an algorithm where first you try if the file already exists on the target dont do put. Else if no file exist then do the put command.