filesharing

.Neptune. filesharing

Holds file sharing setup functions
Source:

Methods

(static) newClientDownload(client, filepath) → {fileSharingObject}

Used by the Client class to setup a file download
Source:
Parameters:
Name Type Description
client Client Client that will be downloading this file.
filepath string Path to the file being downloaded by the client.
Returns:
Type:
fileSharingObject
fileSharingObject

(static) newClientUpload(client, saveToDirectory) → {fileSharingObject}

Used by the Client class to setup a file upload
Source:
Parameters:
Name Type Description
client Client Client that will be uploading this file.
saveToDirectory string Path to save the uploaded file to.
Returns:
Type:
fileSharingObject
fileSharingObject