SFTP

Download or Preview File via SFTP

Downloads a file or folder from a remote server via SFTP. Supports file preview, thumbnail generation for images, and folder download as ZIP archive.

get/sftp

Request

  • Base URL: https://docs.nexterm.dev/api
  • URL: https://docs.nexterm.dev/api/sftp
  • Auth: none required

Query parameters

sessionTokenstring required

Session authentication token

sessionIdstring required

Active server session ID

pathstring required

Remote file or folder path to download

previewstring

Set to "true" to display file inline instead of downloading

thumbnailstring

Set to "true" to generate a thumbnail (images only, max 10MB)

sizenumber

Thumbnail size in pixels (50-300, default: 100)

Response

File content, ZIP archive, or thumbnail image

File required(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.