pub.client:ftp retry 3 times when it does not able to get success notify.

Hi All,

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.

Thanks.

Hi,

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?

Thanks,
Amol. [FONT=PalatinoLinotype-Italic][SIZE=3][FONT=PalatinoLinotype-Italic][SIZE=3]
[/size][/font][/SIZE][/FONT]

Hi ,

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.