# I want to stop further execution of script if My IF condition is true in robot script

**URL:** <https://forum.robotframework.org/t/i-want-to-stop-further-execution-of-script-if-my-if-condition-is-true-in-robot-script/5412>\
**Category:** Robot Framework\
**Created:** [8 March 2023 13:06 UTC](https://forum.robotframework.org/t/i-want-to-stop-further-execution-of-script-if-my-if-condition-is-true-in-robot-script/5412 "2023-03-08T13:06:05Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![bk-user](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/bk-user/32/1446_2.png) [@bk-user](https://forum.robotframework.org/u/bk-user)\
**Post date:** [9 March 2023 03:13 UTC](https://forum.robotframework.org/t/i-want-to-stop-further-execution-of-script-if-my-if-condition-is-true-in-robot-script/5412/6 "2023-03-09T03:13:51Z")

</div>

@pekkaklarck  
Thanks for quick response.

It is actually failing the report as below. I don’t want to fail the test case. I just want to stop execution and generate report

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/3/373fc51281bca11bd5cfd9c926d9d021d7a43a16.png)

Also could you please help me for this. Since this is blocker for me.  
Whether SFTP file upload is supported or not in robot framework

> [@Paramiko.transport: EOF in transport thread](https://forum.robotframework.org/t/paramiko-transport-eof-in-transport-thread/5403):
>
> I have below versions - paramiko==3.0.0 paramiko-ng==2.8.10 Python 3.8.3 I am trying to connect with SFTP server using keyfile and have to upload file. but I am getting below error in logs DEB [20230306-10:04:13.216] thr=2 paramiko.transport: Adding ssh-rsa host key for sbx.filla.in: b2dee68b81745535bb5bff4a22ca8cf0 DEB [20230306-10:04:13.266] thr=1 paramiko.transport: userauth is OK DEB [20230306-10:04:13.277] thr=1 paramiko.transport: Authentication type (none) not permitted. DE…

---

_[View the full topic](https://forum.robotframework.org/t/i-want-to-stop-further-execution-of-script-if-my-if-condition-is-true-in-robot-script/5412)._
