Skip to main content
Glama

SFCC Development MCP Server

by taurgis
SFTPFileInfo.md1.93 kB
## Package: dw.net # Class SFTPFileInfo ## Inheritance Hierarchy - Object - dw.net.SFTPFileInfo ## Description The class is used to store information about a remote file. Note: when this class is used with sensitive data, be careful in persisting sensitive information to disk. ## Properties ### directory **Type:** boolean (Read Only) Identifies if the file is a directory. ### modificationTime **Type:** Date (Read Only) The last modification time of the file/directory. ### name **Type:** String (Read Only) The name of the file/directory. ### size **Type:** Number (Read Only) The size of the file/directory. ## Constructor Summary SFTPFileInfo(name : String, size : Number, directory : boolean, mtime : Number) Constructs the SFTPFileInfo instance. ## Method Summary ### getDirectory **Signature:** `getDirectory() : boolean` Identifies if the file is a directory. ### getModificationTime **Signature:** `getModificationTime() : Date` Returns the last modification time of the file/directory. ### getName **Signature:** `getName() : String` Returns the name of the file/directory. ### getSize **Signature:** `getSize() : Number` Returns the size of the file/directory. ## Constructor Detail ## Method Detail ## Method Details ### getDirectory **Signature:** `getDirectory() : boolean` **Description:** Identifies if the file is a directory. **Returns:** true if the file is a directory, false otherwise. --- ### getModificationTime **Signature:** `getModificationTime() : Date` **Description:** Returns the last modification time of the file/directory. **Returns:** the last modification time. --- ### getName **Signature:** `getName() : String` **Description:** Returns the name of the file/directory. **Returns:** the name. --- ### getSize **Signature:** `getSize() : Number` **Description:** Returns the size of the file/directory. **Returns:** the size. ---

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/taurgis/sfcc-dev-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server