Releases: decimo3/rendoc_botsender
HOTFIX: rendoc_botsender was sent a PDF as a 'Foto' document.
Fixed current path
Replaced 'System.IO.Directory.GetCurrentDirectory' to 'System.AppContext.BaseDirectory', fixing "O arquivo doc.conf não foi encontrado!" fatal exception.
Added JPG file support
Previous versions ignored folders with JPG image files. This update allows JPG files to be uploaded to the client RENDOC system as "Foto" doc type, like he does with JPEG files.
ChromeDriver Auto-Update
RENDOC's auto-shipping bot will now update the ChromeDriver
automatically according to the GoogleChrome
version.
Version checking and updating will occur each time the program is started. It will check the versions, and if out of date, it will download and update automatically.
The other functionalities and form of use are maintained in the same way.
Subfolders
The application, given a folder path, will automatically upload the files to RENDOC.
For all folders that contain in their name: the note number, installation, and type of service performed; and also contain files of Photos, Inspection Videos and Terms of Inspection Occurrence will be sent.
The doc.conf
file must contain:
* The path to the Google Chrome executable must be defined in the GCHROME variable;
* The RENDOC system URL, username and password must be defined in the variables BASEURL, USUARIO and PALAVRA respectively;
* The folder path must be defined as an accessible file path in the CAMINHO variable and the depth of the folders for searching files must be defined as an integer in the PROFUNDIDADE variable.