# How to save the captcha image in local drive from response

**URL:** <https://community.postman.com/t/how-to-save-the-captcha-image-in-local-drive-from-response/52461>\
**Category:** Help Hub\
**Tags:** collections\
**Created:** [September 27, 2023, 5:37am UTC](https://community.postman.com/t/how-to-save-the-captcha-image-in-local-drive-from-response/52461 "2023-09-27T05:37:20Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [September 27, 2023, 8:48am UTC](https://community.postman.com/t/how-to-save-the-captcha-image-in-local-drive-from-response/52461/4 "2023-09-27T08:48:42Z")

</div>

It wouldn’t be possible to do this via a script in the sandbox environment but you could probably achieve that using Newman.

You could create a Newman script that runs the request and downloads the file to your file system.

These are some example of writing files to disk that could be adapted for your usecase.

> [@Save body results to a CSV or JSON file - using newman](https://community.postman.com/t/save-body-results-to-a-csv-or-json-file-using-newman/5861):
>
> Its possible to save the body results to a CSV or JSON file, using newman? [Capture] I want to save the results, just like the image. Thanks!

---

_[View the full topic](https://community.postman.com/t/how-to-save-the-captcha-image-in-local-drive-from-response/52461)._
