Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
1
Erster Beitrag:
vor 6 Tagen, 18 Stunden
Beteiligte Autoren:
Paulo Oliveira

[WB18]Upload edit control+currupt files

Startbeitrag von Paulo Oliveira am 17.05.2017 11:04

I don't know if the bellow behaviour hapens in the other versions.

Our findings:
Webdev uses one dir. (Tmpupload) to put the uploaded files with a name like WEBDEV_0_nnnn.upl
If by some reason the file generated by webdev in the upload process already exists in the Tmpupload with a bigger size than the file he is uploading the new temp file created will have the file of the upload process and the remaining bytes of the old file.

In our case we are uploading pdf files and in some situations the pdf uploaded is corruped.

We create (manually) files in the Tmpupload from WEB_DEV_0_1.upl to WEBDEV_0_99999.upl always with the same pdf (1 048 775 bytes) and after that we try to upload one file with 207 920 bytes and the result file after the UploadCopyFile have the same size of the inicial file (1 048 775 bytes) but the content of the first 207 920 are from the second file.

Does anyone have a solution for this?
Is it in the latest versions already fixed?

Thanks

Antworten:

Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.