How to allow multiple file uploads to the internal intranet of Windows authentication?

I have several solutions, but none of them work perfectly.

Platform

  • ASP.NET/VB.NET/.NET 2.0
  • IIS 6
  • IE6 (primarily), with some IE7; Firefox is not needed but useful

Allowed third-party options

  • Flash
  • ActiveX (I would like to avoid)
  • Java (I would like to avoid)

Current attempts

Gmail style: you can use javascript to add new upload elements (input type = 'file'), and then upload them all at once with the click of a button. This works, but requires a lot of clicks. (I could use an invisible ActiveX control to detect things like File Size, which would be useful.)

Flash Uploader: Flash Upload, 1x1 , , javascript. ( FancyUpload, Dojo Uploader, - darick_c CodeProject.) , :

  • Flash 10 , . - - . .
  • Windows, , , Flash , . cookieless , - .

Java Uploader: Java , , , . , , . . . FancyUpload, html/javascript, .

ActiveX Uploader: ActiveX. , ActiveX . , . , .

- FancyUpload. - , . , , , - cooki, .

, : , ? , , ?

+3
5

@davidinbcn.myopenid.co: . , , .

!

- - - .

A - -. - . . ASPX, . ( , - , . , ). :

Dim uploads As HttpFileCollection = HttpContext.Current.Request.Files
If uploads.Count > 0 Then
    UploadFiles(uploads)
Else
    result = "error"
    err = "File Not Uploaded"
End If

B - , . -, . FancyUpload ( ) . " ASPX".

0

, Windows - . , , , swfupload,

+2

SWFUpload - Flash Uploader.

+1

ajaxuploader.com, .

+1

In Internet Explorer, FileReference.upload (flash download) will also send cookies.

This behavior only breaks when working in other browsers.

0
source

Source: https://habr.com/ru/post/1696735/


All Articles