# FTP (SFTP) Directory, Delete, Move Functions

**URL:** <https://forums.losant.com/t/ftp-sftp-directory-delete-move-functions/5058>\
**Category:** Help\
**Tags:** workflow\
**Created:** [May 18, 2023, 6:35pm UTC](https://forums.losant.com/t/ftp-sftp-directory-delete-move-functions/5058 "2023-05-18T18:35:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephen\_Earthy](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@Stephen\_Earthy](https://forums.losant.com/u/Stephen_Earthy)\
**Post date:** [May 18, 2023, 6:35pm UTC](https://forums.losant.com/t/ftp-sftp-directory-delete-move-functions/5058/1 "2023-05-18T18:35:25Z")

</div>

Hi,

Our manufacturing process currently uses an SFTP site to transfer device information (MAC, Serial Number, etc.) to our head office for processing. I can use the Losant FTP Node to read the files on our SFTP site, but I can not do any of the usual file maintenance functions like Delete, Move, or even get a Directory listing. Is there a way to do this type of work from inside Losant that you are aware of (say with a custom function node)?  
I realize FTP file transfer is a bit archaic, but that describes our manufacturing process!

Thanks in advance for any insight,  
Stephen

---

<div class="post-metadata">

**Author:** ![Sebastian\_Turner](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/sebastian_turner/32/4024_2.png) [@Sebastian\_Turner](https://forums.losant.com/u/Sebastian_Turner)\
**Post date:** [May 18, 2023, 7:41pm UTC](https://forums.losant.com/t/ftp-sftp-directory-delete-move-functions/5058/2 "2023-05-18T19:41:02Z")

</div>

Hi @Stephen_Earthy ,

This isn’t currently possible in an application workflow. I’ll put in a feature request and we will evaluate adding these functions at some point in the future.

If you’re using [Edge Compute](https://docs.losant.com/devices/edge-compute/) devices, this might be possible in an [Edge workflow](https://docs.losant.com/workflows/edge-workflows/), using a Python script invoked via a [Run Executable Node](https://docs.losant.com/workflows/data/run-executable/). However, I don’t have a proof-on-concept of this to share. If you decide to pursue this route, please let us know what you come up with. Otherwise, we’ll let you know if / when these functions get added to the platform. Thanks for the suggestion!
