Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

filereference upload

Guest
Jul 13, 2006 Jul 13, 2006
I want to upload files using filereference ie import flash.net.FileReferenceList; import flash.net.FileReference.
I found a number of examples but most included php and I cant use php on the windows server I am on - only asp.
I contacted Host and they told me they do not support asp.net.

Is it possible to upload files using filereference and asp ?
I have the script in place for the flash part......and some for the aspx part.
But do I have to move to another host providing asp.net or how do I do this.

Have now spend intensively 4 days !!! working with this so any comments are very appreciated.
:confused.

If you have an example I can use - not including php i would welcome it !

best regards
TOPICS
ActionScript
589
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jul 13, 2006 Jul 13, 2006
judo4-
Here is the file upload example in Flash. Note that " http://www.yourdomain.com/yourUploadHandlerScript.cfm" is to be replaced with your server script that handles the file upload.
In your case you will need an ASP script that uploads files to your server.
If you look at http://www.15seconds.com/issue/001003.htm this is a tutorial about ASP file uploads. You can download the upload script for this tutorial from
http://15seconds.com/files/upload.zip
Good luck.
Sean
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jul 13, 2006 Jul 13, 2006
judo4-
Here is the file upload example in Flash. Note that " http://www.yourdomain.com/yourUploadHandlerScript.cfm" is to be replaced with your server script that handles the file upload.
In your case you will need an ASP script that uploads files to your server.
If you look at http://www.15seconds.com/issue/001003.htm this is a tutorial about ASP file uploads. You can download the upload script for this tutorial from
http://15seconds.com/files/upload.zip
Good luck.
Sean
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 13, 2006 Jul 13, 2006
Hi Sean,
Thanks for your swift reply - appreciated.
I downloaded the asp file provided by you. I then uploaded it to my domain.
Now I tried to run my fla on my computer but received error msg below:
UPLOADING FILE: 1023.gif
1023.gif onProgress with bytesLoaded: 1092 bytesTotal: 1092
onHTTPError: 1023.gif httpError: 500

I then also uploaded the swf to my domain and tried to run it in the browser. Still no result (as I then expected.).
I have enclosed the fla script in case I can pursuade you to have a look.....

I have really tried everything the couple of days and I am very frustrating since I soon dont know where to look for a solution.

Somewhere else in adobe forum I find something about the err msg but.......
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=288&threadid=1097476&highlight_ke...

best regards
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 13, 2006 Jul 13, 2006
I just tried to insert asp code as shown below and now received a new err msg:
UPLOADING FILE: 1278.gif
onIOError: 1278.gif

Somehow I think i am near a solution but i just dont seem to complete the task..........
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 13, 2006 Jul 13, 2006
LATEST
Sean,
Your asp + fla found at:
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_P...

gives err:

onSelect: 1278.gif
onOpen: 1278.gif
onProgress with bytesLoaded: 16002 bytesTotal: 16002
onHTTPError: 1278.gif

br
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines