We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it by the end of 2024. Read more about it: https://vestacp.com/docs/vesta-2-development
v-make-tmp-file ?
v-make-tmp-file ?
I was taking a look at the api webhook and saw the v-make-tmp-file command in the web/api/index.php file. This would be simpler to use than my current method of FTP over PHP to make then delete tmp files when necessary.
The command has no directory hard coded into it so I would assume it is either being referenced elsewhere to a tmp folder or the tmp files would be placed within that same directory. I ran the command and it returned a returncode of 0 indicating that it was successful, but there is no indication of where the file is stored, whether that be the user tmp directory, the php tmp directory, a specific folder, etc, and a file search returned no results for the file.
I attempted supplying a directory within the request as the command has no directory supplied, and the response was successful, but there was no file present in any specified directories making me believe that there could be a permissions problem, or a directory supplied elsewhere.
I looked on Github and found this command was added in 2015 under this commit: https://github.com/serghey-rodin/vesta/ ... 98fbadcab6 but I can't find any usage for the API or info on directories.
Does anyone know anything about this command or its functionality? Thanks.
The command has no directory hard coded into it so I would assume it is either being referenced elsewhere to a tmp folder or the tmp files would be placed within that same directory. I ran the command and it returned a returncode of 0 indicating that it was successful, but there is no indication of where the file is stored, whether that be the user tmp directory, the php tmp directory, a specific folder, etc, and a file search returned no results for the file.
I attempted supplying a directory within the request as the command has no directory supplied, and the response was successful, but there was no file present in any specified directories making me believe that there could be a permissions problem, or a directory supplied elsewhere.
I looked on Github and found this command was added in 2015 under this commit: https://github.com/serghey-rodin/vesta/ ... 98fbadcab6 but I can't find any usage for the API or info on directories.
Does anyone know anything about this command or its functionality? Thanks.
Re: v-make-tmp-file ?
Intresting, I think this command actually not exists, and was replaced just by mktemp