Author Topic: Flash Uploader  (Read 20729 times)

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12946
    • View Profile
Re: Flash Uploader
« Reply #15 on: July 23, 2009, 01:44:37 PM »
this is from swfupload documentation
Quote
HTTP Authentication is not well supported by the Flash Player. Later versions of Flash Player behave better. Old version of Flash Player would crash the browser.

sad story.
this wouldn't be a big problem with cookie-based authentication :P

Offline Sapphirescales

  • Occasional poster
  • *
  • Posts: 73
    • View Profile
Re: Flash Uploader
« Reply #16 on: July 23, 2009, 07:59:38 PM »
By flash player?  Wouldn't that mean that ANY flash based uploader would be plagued by this problem? :'(

If that's so is there any way to change the method of authentication? 

Offline mysoogal

  • Tireless poster
  • ****
  • Posts: 127
    • View Profile
Re: Flash Uploader
« Reply #17 on: July 24, 2009, 06:03:53 AM »
I'm wondering if you can use python to upload files  ;D

Offline TSG

  • Moderator
  • Tireless poster
  • *****
  • Posts: 1934
    • View Profile
    • RAWR-Designs
Re: Flash Uploader
« Reply #18 on: July 26, 2009, 01:44:06 PM »
I have tried other flash uploaders, its up to your genius now rejetto :) there must be something we can do to allow a flash uploader to work with protected folders and http authentication. Some way to emulate the situation, but its over my head.

Offline TSG

  • Moderator
  • Tireless poster
  • *****
  • Posts: 1934
    • View Profile
    • RAWR-Designs
Re: Flash Uploader
« Reply #19 on: August 30, 2009, 09:21:35 AM »
Hey rejetto, I know you haven't been around much. However it has been just over a month now. Wondering how much closer this is to something tangible... I think it is a necessary upgrade to HFS... from my investigation I can't find any better way to do this other using flash in some shape or form. Or Java. And both create their own upload connection to the server... so something is needed to catch those requests and let them do their thing.
« Last Edit: August 30, 2009, 09:31:36 AM by TSG »

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12946
    • View Profile
Re: Flash Uploader
« Reply #20 on: August 30, 2009, 01:24:01 PM »
if i got it right, permissions/authentication is our problem... right?

if we don't find/build a flash applet that will correctly use http authentication, then there's no way i know it could work,
except
1. trying to workaround http authentication by submitting user/pass as POST data. this would only work with HFS, as it's not standard, but it may be ok.
2. supporting cookie-based authentication on HFS, that will take a while.

Offline TSG

  • Moderator
  • Tireless poster
  • *****
  • Posts: 1934
    • View Profile
    • RAWR-Designs
Re: Flash Uploader
« Reply #21 on: August 30, 2009, 03:08:34 PM »
Yes, it works not a problem when we have anonymous access, but add a password and the lights flash red on all panels. I don't know much about that server side stuff so I have to leave it up to you and the other HFS delphi programmers.

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12946
    • View Profile
Re: Flash Uploader
« Reply #22 on: August 30, 2009, 03:14:31 PM »
what are these lights exactly?

Offline TSG

  • Moderator
  • Tireless poster
  • *****
  • Posts: 1934
    • View Profile
    • RAWR-Designs
Re: Flash Uploader
« Reply #23 on: August 30, 2009, 03:16:38 PM »
HFS says 'NOT ALLOWED' in the log, and the flash uploader (SWF Upload) basically fails. It says an error randomly about authentication, which is what lead me to this conclusion.

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12946
    • View Profile
Re: Flash Uploader
« Reply #24 on: August 30, 2009, 03:19:14 PM »
mmm, and are you able to pass user/pass as POST data?

Offline TSG

  • Moderator
  • Tireless poster
  • *****
  • Posts: 1934
    • View Profile
    • RAWR-Designs
Re: Flash Uploader
« Reply #25 on: August 30, 2009, 03:20:43 PM »
I have not tried, Flynsarmy seems to think he has found a Flash uploader that uses Flash to get the multiple file uploads, but then uses Javascript to do the uploading. Which might work. But it might just be how SWF Upload works. I never really looked into it that deep.

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12946
    • View Profile
Re: Flash Uploader
« Reply #26 on: August 30, 2009, 03:26:32 PM »
I have not tried,

would that be possible, i could make HFS to accept the login through it

Offline TSG

  • Moderator
  • Tireless poster
  • *****
  • Posts: 1934
    • View Profile
    • RAWR-Designs
Re: Flash Uploader
« Reply #27 on: August 30, 2009, 03:29:52 PM »
Flynsarmy just told me he might be wrong, flash might be the one doing the uploading. Also I have no idea, it is possible that it might work if we append the login details to the url, however how secure is that?

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12946
    • View Profile
Re: Flash Uploader
« Reply #28 on: August 30, 2009, 05:25:17 PM »
Flynsarmy just told me he might be wrong, flash might be the one doing the uploading.

yes it's possible.
but flash as well may send additional data.

Quote
Also I have no idea, it is possible that it might work if we append the login details to the url, however how secure is that?

don't worry, it's not shown in the address bar of the browser.

Offline Sapphirescales

  • Occasional poster
  • *
  • Posts: 73
    • View Profile
Re: Flash Uploader
« Reply #29 on: August 31, 2009, 08:05:53 AM »
Here's to hoping you guys can get it to work. ;D I'm eagerly awaiting some sort of flash uploader. 8)