Skip to main content

Overview

The Flash Transfer API (NTQQFlashApi) provides methods for creating and managing flash file transfers. Flash transfers allow temporary file sharing with automatic expiration.
Flash transfers are temporary and files expire after a set period. They’re ideal for quick file sharing without permanent storage.

API Reference

createFlashTransferUploadTask

Create a flash transfer upload task for sharing files.
array
required
Array of file paths to upload
string
Path to thumbnail image (optional)
string
required
Name for the fileset
string
Unique identifier for the created fileset
Example:

downloadFileSetBySetId

Download a complete fileset by its ID.
string
required
Fileset identifier
string
Local path where files were downloaded
Example:

getShareLinkBySetId

Generate a shareable link for a fileset.
string
required
Fileset identifier
URL for sharing the fileset
string
Access code for the share link
Example:

fromShareLinkFindSetId

Get fileset ID from a share link.
string
required
Share link access code
string
Fileset identifier
Example:

getFileListBySetId

Get list of files in a fileset.
string
required
Fileset identifier
array
Array of file objects
Example:

getFileSetInfoBySetId

Get detailed information about a fileset.
string
required
Fileset identifier
object
Fileset information
Example:

sendFlashMessage

Send a flash transfer as a message.
string
required
Fileset identifier
Peer
required
Target peer (user or group)
string
Sent message identifier
Example:

getFileTransUrl

Get download URL for files in a fileset.
string
required
Fileset identifier
object
Download options
array
Array of download URLs for each file
Example:

createFileThumbnail

Create a thumbnail for a file.
string
required
Path to the file
string
Path to the generated thumbnail
Example:

Complete Example

Use Cases

Temporary File Sharing

Flash transfers are perfect for sharing files that don’t need permanent storage:

Large File Distribution

Use flash transfers for distributing large files without permanent storage:

File API

Permanent file operations

Online File API

Online file transfers