FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
[WB18]Upload edit control+currupt files
[WB18]Upload edit control+currupt files
Débuté par Paulo Oliveira, 17 mai 2017 13:04 - Aucune réponse
Connectez-vous…
Paulo Oliveira
#1
Posté le 17 mai 2017 - 13: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
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte