04-20-2020, 11:14 AM
(This post was last modified: 04-20-2020, 11:15 AM by Rassamaha78.)
Bootstrap4 fileinput bug
|
In Full SA IWStandAloneServer1.Start(TSaServerIndy); option ParseFileUpload := True can't upload all files.
In Http.sys option ParseFileUpload := True gives corrupted files. In Http.sys, all files have been saved, but: 1. Adds additional data: Code: ------WebKitFormBoundaryMviZ4UhsIZEcpH7F 2. Maybe something is wrong with Encoding.
04-20-2020, 03:56 PM
(This post was last modified: 04-20-2020, 04:05 PM by Rassamaha78.)
1. When I switch my project to TIWStart.Execute (True); file transfer works fine, although WebKitFormBoyundary sections are added to the end of the file, removing them is not a problem, especially for picture files this is not critical.
2. When using TIWStartHSys.Execute (True); in the received file, one byte is lost at the beginning of the file (approximate address 0x00007F5A), this violates the integrity of the file and the picture is displayed with artifacts. I wrote about this in my first post. WebKitFormBoyundars sections are added at the end, as in the first case. I always set ParseFileUpload to True, if I change to False, then aRequest.Files. Count = 0. I would like to use HTTP.sys in my project, but so far I have to switch to Indy HTTP.
04-29-2020, 08:24 PM
Is a solution expected in upcoming releases of IW ?
05-01-2020, 02:41 PM
(This post was last modified: 05-01-2020, 02:49 PM by Alexandre Machado.)
Can you provide a simple test case for this?
I need a simple working project containing only IW files (no 3rd party other than IW Boostrap) which shows this problem.
05-01-2020, 04:18 PM
Hi,
Compile and run IWUpload. Upload all files from "TestFilesToUpload" directory. See uploaded files in "uploaded" directory.
05-01-2020, 10:57 PM
I don't know what's your version of fileinput.min.js. Can you please attach it to the project?
I am using bootstrap-fileinput v4.3.2
I attach a zipped wwwroot folder and screenshot of problem. I tried too bootstrap-fileinput v5.0.9 and it doesn't work properly.
05-02-2020, 04:28 AM
I can confirm that there is a problem which is highly visible when you upload PNG files (because 1 wrong byte is enough to make the file useless). I'm working on it and should have other information soon
05-03-2020, 12:23 PM
Please install update 15.1.21: https://www.atozed.com/2020/05/intraweb-15-1-21/
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)