drracing07
(United States)
February 15, 2023, 7:43pm
1
Is there a way to send a fax to a filestore? I’m looking to send it to a Synology NAS. It would be the best if this was an option, to set a datastore as a storage location in the user settings under the fax tab.
jfinstrom
(James Finstrom)
February 15, 2023, 8:50pm
2
By default no, with some custom code/php yes… With a nas it may also be easier to do an NFS mount.
In any case you can watch the folder with some utility
Then copy that file to the mount…
Filestore uses the flysystem library for its magic.
An example
* Get file
* @param int $id filestore item id
* @param string $path path of item to get
* @return File object
*/
public function download($id,$remote,$local){
return $this->getDriverObjectById($id)->download($remote, $local);
}
/**
* Put file
* @param int $id filestore item id
* @param string $path path of item to put
* @param file $file to upload
* @return bool object created
*/
public function upload($id,$local,$remote){
return $this->getDriverObjectById($id)->upload($local, $remote);
}
/**
system
(system)
Closed
March 18, 2023, 8:50pm
3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.