---
description: Checks if the specified folder exists in the server.
---

# Folder Exists

This activity checks whether user specified directory exists in the FTP server or not.

### FTP Connection

* **FTP Session Id:**[`IFtpSession Variable`](../../../../getting-started/rpa-studio/variables#iftpsession)![](https://1935494318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M927xRZSEM57y2sBcm3%2Fuploads%2Fgit-blob-20e90e25afa096ee0833e242a7763776d12b4591%2Fimage.png?alt=media)\
  Specifies the variable containing the previously opened FTP Connection you wish to close. You must have previously specified this variable in an Open FTP Connection action.\\

### Input

* **Remote Path:** [`String Argument`](../../../../getting-started/rpa-studio/arguments#string)![](https://1935494318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M927xRZSEM57y2sBcm3%2Fuploads%2Fgit-blob-20e90e25afa096ee0833e242a7763776d12b4591%2Fimage.png?alt=media)\
  Specifies the path of the FTP directory in which to check whether the indicated directory exists.\\

### Output

* **Result**:[`Boolean Variable`](../../../../getting-started/rpa-studio/variables#boolean)\
  Stores a boolean value to indicate whether the user-specified folder exists in the FTP server or not.
