NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page AJAX file uploads

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
4 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 05-28-2006, 09:23 PM THREAD STARTER               #1 (permalink)
NamePros Member
 
monty's Avatar
Join Date: Jun 2005
Location: Hat Yai, Thailand
Posts: 165
monty is an unknown quantity at this point
 



AJAX file uploads


Hey y'all

I am working on some upload section for a AJAX app and I am experiencing some difficulties keeping it all asynchronous when it comes to file uploads. The XMLHTTPRequest object doesn't do a very good job uploading files.

Now, I heard something about a workaround using iFrames. Does anybody have experience with tihs approach? Mind pointing me into the right direction or a tutorial maybe?

Thank much!

-monty
monty is offline  
Old 05-28-2006, 11:05 PM   #2 (permalink)
NamePros Member
Join Date: May 2006
Location: Coral Springs
Posts: 60
Chaos King is an unknown quantity at this point
 



AJAX cannot send files to the server. This is because AJAX is actually Javascript which is a client side language which means that it can only interact with the browser, not the user.

http://www.air4web.com/files/upload/

This is what you may be looking for.
Chaos King is offline  
Old 05-29-2006, 02:11 AM THREAD STARTER               #3 (permalink)
NamePros Member
 
monty's Avatar
Join Date: Jun 2005
Location: Hat Yai, Thailand
Posts: 165
monty is an unknown quantity at this point
 



Originally Posted by Chaos King
AJAX cannot send files to the server. This is because AJAX is actually Javascript which is a client side language which means that it can only interact with the browser, not the user.

http://www.air4web.com/files/upload/
????: NamePros.com http://www.namepros.com/programming/202143-ajax-file-uploads.html

This is what you may be looking for.
Sorry, but I have to ask: what are you talking about? Ajax not able to interact with the server? Hmm, that's strange since my whole application interacts with the server from just one page and uses the XMLHttpRequest object to interact with the server (so Ajax, and JavaScript for that matter, CAN interact with the server).

The problem is that the XMLHttpRequest object doesn't work with file uploads. I know there's toolkit's out there using iFrames to get past this problem.

Thanks for your link anyway, but I really need a Ajax solution for this.

-monty
monty is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 02:14 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger