123
Views
5
Comments
Solved
SFTP PUT method
Question

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.

2026-01-26 10-25-31
Lennart Kraak
Champion
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.

2023-07-28 17-00-32
Marco Arede
 
MVP

Hi Ronan T,

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

UserImage.jpg
Ronan T

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.


2023-07-28 17-00-32
Marco Arede
 
MVP

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,

2026-01-26 10-25-31
Lennart Kraak
Champion
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.

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

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

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.