Namespace : alphayax\freebox\api\v3\services\FileSystem
Class : alphayax\freebox\api\v3\services\FileSystem\FileSystemOperation
Method | Description |
---|---|
move |
Move files |
copy |
Copy files |
remove |
Delete files |
cat |
Concatenate files (Miaw ^^) |
archive |
Create an archive |
extract |
Extract an archive |
repair |
Repair files from a .par2 |
computeHash |
Hash a file. This operation can take some time. To get the hash value, the returned task must have succeed and be in the state “done”. |
getHashValue |
Get the hash value To get the hash, the task must have succeed and be in the state “done”. |
createDirectory |
Create a directory Contrary to other file system tasks, this operation is done synchronously. |
rename |
Rename a file/folder Contrary to other file system tasks, this operation is done synchronously. |
download |
Download a file from the freebox server (return the file content) |
Class : alphayax\freebox\api\v3\services\FileSystem\FileSystemListing
Method | Description |
---|---|
getFilesFromDirectory |
Get all files in a given directory |
getFileInformation |
Get file information |
Class : alphayax\freebox\api\v3\services\FileSystem\FileUpload
Method | Description |
---|---|
createAuthorization |
Create a file upload authorization |
uploadFile |
Send the content of the FileUpload task |
getAll |
Get the list of uploads |
getFromId |
Track an upload status |
cancelFromId |
Cancel the given FileUpload closing the connection The upload status must be in_progress |
deleteFromId |
Delete the given FileUpload closing the connection if needed |
cleanTerminated |
Deletes all the FileUpload not in_progress |
Class : alphayax\freebox\api\v3\services\FileSystem\FileSystemTask
Method | Description |
---|---|
getAllTasks |
Retrieve all FS tasks |
getTaskById |
Retrieve a FS task with the specified id |
deleteTask |
Delete a FS task |
deleteTaskById |
Delete a FS task with the specified id |
updateTask |
Update a FS task |
Class : alphayax\freebox\api\v3\services\FileSystem\FileSharingLink
Method | Description |
---|---|
getAll |
Retrieve all File Sharing links |
getFromToken |
Get a file sharing link from his token identifier |
deleteFromToken |
Delete a File Sharing link for his token identifier Deletes the ShareLink task with the given token, if the task was running, stop it. |
create |
Create a File Sharing link |