A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Upload file with Flash 8 problem

  1. #1
    Member
    Join Date
    Apr 2000
    Posts
    79

    Upload file with Flash 8 problem

    I have simple flash 8 upload projector app (sample) compiled with 3d party tool which uses flash ocx.
    Macromedia says it supports both http and https protocol but I can´t get it to work with https. Every time it gives onIOError and abort upload. They say this error could be if server requires authentication, what authentication???
    I tried to upload via SSL on 3 servers which I know has SSL and no way.
    I am talking about php and apache server.
    Sending https request via LoadVars on samel 3 servers works without problem.
    One thing more, the https upload request tries to open port 80(!???) on server instead of port 443 (SSL).

    Any explination or solution?
    Thanks in advance

  2. #2
    Member
    Join Date
    Apr 2000
    Posts
    79
    I forgot to ask how is it possible that in all cases LoadVars works good and FileReference doesn´t using the same https protocol?

    Uploading file with http protocol is big security risk too because you send upload path as a plain text over the net (easily sniffed) so malicious hacker can easily copy it and fill your folder with his(her) files.

  3. #3
    Flash Gordon McUsher's Avatar
    Join Date
    Mar 2001
    Location
    Krautland
    Posts
    1,560
    SSL and HTTPS are different protocols.
    Https uses the standard webserver port, which is 80.

    I don't have a clue how to help furthermore.. sorry.

    Does the https Upload works with a locally executed
    standard html based form-upload?

  4. #4
    Member
    Join Date
    Apr 2000
    Posts
    79
    No, https is secure version of http protocol and it calls SSL (Secure Sockets Layer) installed on server through server port 443, port 80 is reserved for normal http.
    When the secure channnel is established It encrypts whole package request on client side INCLUDING path so https://mydomain/myfolder/upload.php becomes unreadable together with file too (everything is encrypted).
    Thanks anyway

  5. #5
    Flash Gordon McUsher's Avatar
    Join Date
    Mar 2001
    Location
    Krautland
    Posts
    1,560
    I am sorry for writing that BS... dunno, what made me think it..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center