# List files in remote FTPS directory

**URL:** <https://community.easymorph.com/t/list-files-in-remote-ftps-directory/4877>\
**Category:** General Q&A\
**Created:** [October 4, 2023, 8:45pm UTC](https://community.easymorph.com/t/list-files-in-remote-ftps-directory/4877 "2023-10-04T20:45:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![htims05](https://community.easymorph.com/letter_avatar_proxy/v4/letter/h/4491bb/32.png) [@htims05](https://community.easymorph.com/u/htims05)\
**Post date:** [October 4, 2023, 8:45pm UTC](https://community.easymorph.com/t/list-files-in-remote-ftps-directory/4877/1 "2023-10-04T20:45:02Z")

</div>

I have a FTPS location that, from what I can tell, I must interact with via an external program - like WINSCP.

Has anyone been able to script WINSCP to give a list of the remote directory contents in a format that EasyMorph can read/transform? I've been able to have it write to a log file through using a windows batch (.bat) file but it has no formatting, no delimiter etc - just a dump to a text file that has all the FTP connection info in it as well.

I'm open to other ideas but the main issue is the fact that it's FTPS and EasyMorph doesn't natively connect to FTPS.

---

<div class="post-metadata">

**Author:** ![dgudkov](https://community.easymorph.com/user_avatar/community.easymorph.com/dgudkov/32/5_2.png) [@dgudkov](https://community.easymorph.com/u/dgudkov)\
**Post date:** [October 4, 2023, 10:28pm UTC](https://community.easymorph.com/t/list-files-in-remote-ftps-directory/4877/2 "2023-10-04T22:28:07Z")

</div>

Typically you would just capture whatever output is produced by WinSCP and parse it in EasyMorph using various actions.

Writing into a log file is not necessary, you can capture the console output of WinSCP right into EasyMorph. See this topic: [How to capture results from external applications](https://community.easymorph.com/t/how-to-capture-results-from-external-applications/2746)
