Flash Uploader 1.0 Released

Last post 06-28-2008 8:15 PM by shaxs. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 03-19-2008 3:13 PM

    • BarryR
    • Top 10 Contributor
    • Joined on 07-20-2007
    • San Diego
    • Posts 617

    Flash Uploader 1.0 Released

    You can find this release here: http://developer.nirvanix.com/files/folders/flash/entry747.aspx 

    This application lets you upload files via a flash interface that will show progress as you upload.

    Regards,
         Barry R.

    IM Support (Feel free to add me)

    MSN: barryruffner@msn.com
    Gmail: barryruffner@gmail.com
  • 05-16-2008 7:37 PM In reply to

    • mmania
    • Top 10 Contributor
    • Joined on 01-20-2008
    • Netherlands
    • Posts 91

    Re: Flash Uploader 1.0 Released

    Hi Barry,

    I tried the Flash Uploader. It works fine out of the box, but when I tried to modify the parameters (appkey, username, password) to upload to my account something is not quite right.

    I noticed in the .fla file that there are 2 hard coded references to:

    http://www.nirvanixdemo.com/widgetupload.php

    I changed those references to point to the script hosted on my site and republished the swf file, but I get a onHTTPError with the message "There was a problem with the internet connection..."

    I must admit I am absolutely useless with flash, any help would be really appreciated.

    thanks in advance

    ciao

    Luca

    PS I noticed though  in the php files (widgetupload.php and widgetresult.php) that the login request is not urlencoded.

  • 05-20-2008 10:37 PM In reply to

    • BarryR
    • Top 10 Contributor
    • Joined on 07-20-2007
    • San Diego
    • Posts 617

    Re: Flash Uploader 1.0 Released

    The flash file has the ability to take in parameters where the forwarder should be sent.  You should change the file widgetupload.php here:

     $appkey =     "YOUR-APP-KEY";
    $username =    "YOURUSERNAME";
    $password = "YOURPASSWORD";
    $forwardSite = "www.YOURDOMAIN.com";

    with the correct forward site.

    Everything else should be handled automatically without having to recompile the swf.  Thanks for the note on the urlencoding I will be sure to update it for the next release.

    Regards,
        Barry R.

    IM Support (Feel free to add me)

    MSN: barryruffner@msn.com
    Gmail: barryruffner@gmail.com
  • 05-21-2008 5:56 AM In reply to

    • mmania
    • Top 10 Contributor
    • Joined on 01-20-2008
    • Netherlands
    • Posts 91

    Re: Flash Uploader 1.0 Released

    Hi Barry,

    the flash uploader actually works even without changing the variables in the php files...
     
    I think the reason is indeed due to the .fla where you can see that the flash is pointing to the nirvanixdemo.com/wdigetupload.php.

    my_lv3.load("http://www.nirvanixdemo.com/widgetupload.php?imreq=1&account_id="+_level0.account_id, my_lv, "GET");

    my_lv.load("http://www.nirvanixdemo.com/widgetupload.php?account_id="+account_id, my_lv, "GET");

     
    in fact the download file comes up with the

    http://services.nirvanix.com/mysecondapp/gttudor/%2Fwidget%2Fkjbah%2Ftestfile.txt 

    ciao Luca 

     

     

     

  • 05-22-2008 8:29 AM In reply to

    • BarryR
    • Top 10 Contributor
    • Joined on 07-20-2007
    • San Diego
    • Posts 617

    Re: Flash Uploader 1.0 Released

     I am in the process of fixing this we have several reference apps to be released soon so I hope to get this in as well.

     Thanks for the help investigating,
        Barry R.

    IM Support (Feel free to add me)

    MSN: barryruffner@msn.com
    Gmail: barryruffner@gmail.com
  • 06-28-2008 8:15 PM In reply to

    • shaxs
    • Top 50 Contributor
    • Joined on 06-28-2008
    • San Diego
    • Posts 8

    Re: Flash Uploader 1.0 Released

    Does anyone have a working Demo online that I use to see how this works?

     

    N.M. I downloaded and installed the demo and it didnt need tweaking so I could use it. Thanks!

Page 1 of 1 (6 items)