Upload Files To Server ASP

Hi All,

Doesn anyone know how in Flash using ASP to broswe and uplaod a file to a server.  I have seen a component and a JavaScript workaround.  However, is there another way to do this?  If anyone has any examples or suggestions, please let me know.  Thanks for everything.

Justice
Justice75Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

muso120999Commented:
There's a whole discussion on this here:

http://www.experts-exchange.com/Web/WebDevSoftware/Flash/Q_21115110.html

A few of the solutions use ASP too

muso
0
Justice75Author Commented:
Thanks Muso,

I read all of the articles like this one with the Yaz Browser and the one from Digital Media or whatever.  However, if it only supports IE what would be done about the other broswsers.  Since that discussion has anyone come up with any cross browser solutions?  Thanks alot for your time.

Justice
0
muso120999Commented:
Okay, I'll see what I can figure out for you...
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Justice75Author Commented:
Thanks a bunch!

Justice
0
negatyveCommented:
This is an example with asp: http://www.negatyve.com/EE/FlashAspUpload.zip
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Justice75Author Commented:
I tried everything.  I can not get it to work.  I donot have Flash remoting.  Does this example require it?

Justice
0
negatyveCommented:
who are you talking to? :)
(my example do not use remoting, just asp: to make it work, you should change destination directory inside form.asp, and grant intener user write permission on that folder)
0
Justice75Author Commented:
oh... i thought that i saw a script that said remoting inside the flash file. okay i am chaning the destination directory.  thanks.

Justice
0
negatyveCommented:
yep, there is this line:

import mx.remoting.PendingCall;

you can delete it, my original worked with remoting on coldfusion...
0
muso120999Commented:
Looks like you have it sorted!

I take it that your answer, negatyve, is compatible with Firefox, etc...

muso
0
Justice75Author Commented:
Negatyve,

Is there any way that this can be accomplished without the fames?  Any way ? Please if there is can you let me know other than that this seems GREAT!  I have to use an uploader that can be loaded into an empty mc inside a swf that is already in a ASP page.  Do you know any way that I can use it without the fames?  Thanks again for your your help.

Justice
0
negatyveCommented:
>Is there any way that this can be accomplished without the fames

With flash, no, no other way. You have to mix my example with the link from muso's post, the one to yamago component, but you *need* a hidden html frame (flash cannot open an Explorer window on its own)..
0
Justice75Author Commented:
Okay. Thanks a bunch.  If I just want to use the example as is do I need to use the Yamago post?  The component works great but I dont know PHP a bit.

Justice
0
negatyveCommented:
>If I just want to use the example as is do I need to use the Yamago post?

if you want the panel to be gecko compatible, you should add the hidden html layer button logic...
0
Justice75Author Commented:
Hi,

I dont know how to integrate the two of them. BTW, what is gecko compatible?

Justice
0
Justice75Author Commented:
Hey Guys
0
muso120999Commented:
> what is gecko compatible?

Gecko is Mozilla's predecessor (of which Firefox is also in the same family) - another browser
0
Justice75Author Commented:
Okay thanks Muso.  My final question is Negatyve said that the two suggestions needed to be integrated (I think that is what he said).  Is it better if I do or is it better for me to use only one of them?  Please carify the difference between the two of them besides the fact that the middleware for one is ASP and the the other is PHP.  Please.  I really dont know.

Justice
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.