Skip to main content
Glama

liara_create_ftp_access

Create FTP access for a disk to enable file transfer between your application and storage on the Liara cloud platform.

Instructions

Create FTP access for a disk

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appNameYesThe name of the app
diskNameYesThe name of the disk

Implementation Reference

  • The main handler function that implements the logic for creating FTP access to a disk by calling the Liara API endpoint. This is the core implementation of the 'liara_create_ftp_access' tool.
    export async function createFtpAccess( client: LiaraClient, appName: string, diskName: string ): Promise<FtpAccess> { validateAppName(appName); validateRequired(diskName, 'Disk name'); return await client.post<FtpAccess>( `/v1/projects/${appName}/disks/${diskName}/ftp` ); }
  • Type definition for the FTP access object, used as the return type for the createFtpAccess function.
    export interface FtpAccess { _id?: string; hostname: string; port: number; username: string; password: string; }

Other Tools

Latest Blog Posts

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/razavioo/liara-mcp'

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