Hi ,

I am  transferring a file in using PUT method after the successful transfer of that file i need to send another file automatically how can i check the 1st file is successfully transferred in PUT method.


Thanks,

Ronan T.

Hi Ronan T,

You can check the response of method, by using the OnAfterResponse action.

Solution

Hi Ronan,

I think Marco is talking about a PUT request via a webservice, but I assume you're talking about the action Put of the extension SFTP?

After the Put you could use the List or Search action to see if the file exists on the server. If so, you can send the other file.

Solution

Marco Arede wrote:

Hi Ronan T,

You can check the response of method, by using the OnAfterResponse action.

Hi Marco Arede,

There is no response from that method.

Thanks,

Ronan T.


Ronan T wrote:

There is no response from that method.

Hi Ronan,

Yes, I was was thinking on the other protocol HTTP.

I think Lennart Kraak solution would fit for this answer.

Regards,

Also, I think an exception is thrown when the PUT doesn't succeed.