Trial Upload of Logs and txt files

This is a trial to test upload of log files and txt files.
This is also a trial to see if the log files can be downloaded.
Fichier attaché | Taille |
---|---|
Sha512FileHash2197.docx | 410 octets |
ListOfInstallCheckSums.docx | 800 octets |
AcronisTrueImage2018_9202.txt | 114 octets |
AcronisTrueImage2018_9207.txt | 154 octets |
AcronisTrueImage2018_9660.txt | 114 octets |
AcronisTrueImage2018_9850.txt | 114 octets |
Sha512FileHash2210.docx | 410 octets |
AcronisTrueImage2018_10410.txt | 154 octets |
TrueImageValidHashes.txt | 114 octets |
Sha512FileHash2270.docx | 370 octets |
Sha512FileHash2285.docx | 410 octets |
AcronisTrueImage2018_10640.txt | 154 octets |
Sha512FileHash2018.txt | 538 octets |
Sha512_2018.txt | 24.95 Ko |

- Se connecter pour poster des commentaires

Just been able to download some .docx document files uploaded by a user without problem.
- Se connecter pour poster des commentaires

Still a problem with Log files with getting the 403 Forbidden error when trying to either open or download them!
- Se connecter pour poster des commentaires

Here's a test for a docx file
Fichier attaché | Taille |
---|---|
427752-139050.docx | 12.25 Ko |
427752-139749.txt | 114 octets |
- Se connecter pour poster des commentaires

- Se connecter pour poster des commentaires

OK...the docx file above is actually a log file with extension changed from .log to .docx. I was able to upload and download as a docx...after download, I changed the extension back to .log and opened the file in notepad.
- Se connecter pour poster des commentaires

Looks like there are some file protection settings in the Drupal CMS software being used for the Forum to prevent access to certain file types!
- Se connecter pour poster des commentaires

- Se connecter pour poster des commentaires

.txt files gave same 403 Forbidden error.
Trying with .log.doc
Fichier attaché | Taille |
---|---|
427882-139106.doc | 8.14 Ko |
- Se connecter pour poster des commentaires

Steve, it works if you change the extension. Spoke too soon, while Word opened no document there.
Ian
- Se connecter pour poster des commentaires

Ian, you need to download the file as .doc then rename it back to .log in the case of the files I uploaded for testing. I had another user do this in topic: issue with backup validation / how to force full backup and was able to load the log files into the MVP Log Viewer to read them.
- Se connecter pour poster des commentaires

Ekaterina alerted to this topic thread as work still needed to get all allowed file types to download / open without giving a 403 Forbidden error. .LOG files still give this error.
- Se connecter pour poster des commentaires

Hello Everyone,
Now attachments with the extensions .txt and .log can be viewed\downloaded succesfully. BTW do you think we should add any additional file types alongside those listed in the allowed types ?
Allowed types: jpg jpeg gif png txt doc xls pdf ppt pps odt ods odp nfo log zip dmp pptx docx xlsx tar gz gzip exe js.
Thank you!
- Se connecter pour poster des commentaires

Ekaterina, just looking at the list of 'Allowed types:' - the forum developers might want to remove any of those for executable files, i.e. .exe and js and add a note to say that other file types should be put into a zip or other allowed archive type.
The reason for my comment is purely one of safety as given this is a public forum where anyone can register for access, any form of malware could easily be attached in the guise of an innocent looking attachment!
- Se connecter pour poster des commentaires

Agree, a good point, thank's a lot, Steve!
- Se connecter pour poster des commentaires