I''m looking for file upload documentation on the wiki, cant find anything. I only found the changeset that supports file upload. should the file be part of ''input'' ? please help. thanks -- gcc -O0 -DRUBY_EXPORT -rdynamic -Wl,-export-dynamic -L. main.o -lruby-static -ldl -lcrypt -lm -o ruby Everyone is trying their hardest to do their job but management has set it up so that it''s impossible. Take the control over your money, track your expenses http://justbudget.com Mathieu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/camping-list/attachments/20060726/97aea8c8/attachment.html
On 26-jul-2006, at 9:55, Mathieu Jobin wrote:> I''m looking for file upload documentation on the wiki, cant find > anything. > I only found the changeset that supports file upload. > > should the file be part of ''input'' ?It might be nice the visit the IRC channel #camping on irc.freenode.net that way you don''t have to send 5 emails every day (:
I am on the IRC channel. but I thought mailling list was better as everybody can participate(reply) whenever they have time. and mailling list get archived and thus googlable, not IRC. On 7/26/06, Manfred Stienstra <manfred at gmail.com> wrote:> > > On 26-jul-2006, at 9:55, Mathieu Jobin wrote: > > > I''m looking for file upload documentation on the wiki, cant find > > anything. > > I only found the changeset that supports file upload. > > > > should the file be part of ''input'' ? > > It might be nice the visit the IRC channel #camping on > irc.freenode.net that way you don''t have to send 5 emails every day (: > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list >-- gcc -O0 -DRUBY_EXPORT -rdynamic -Wl,-export-dynamic -L. main.o -lruby-static -ldl -lcrypt -lm -o ruby Everyone is trying their hardest to do their job but management has set it up so that it''s impossible. Take the control over your money, track your expenses http://justbudget.com Mathieu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/camping-list/attachments/20060726/9f1a6529/attachment.html
On 7/26/06, Mathieu Jobin <mathieu at justbudget.com> wrote:> I''m looking for file upload documentation on the wiki, cant find anything. > I only found the changeset that supports file upload. > > should the file be part of ''input'' ? > > please help. > > thanksTake a look at Parkplace: http://code.whytheluckystiff.net./svn/parkplace/trunk/lib/parkplace/
Is there a live version of parkplace I could try ? I see that parkplace requires mongrel..... would not it work with Apache? On 7/27/06, Thomas Lockney <tlockney at gmail.com> wrote:> > On 7/26/06, Mathieu Jobin <mathieu at justbudget.com> wrote: > > I''m looking for file upload documentation on the wiki, cant find > anything. > > I only found the changeset that supports file upload. > > > > should the file be part of ''input'' ? > > > > please help. > > > > thanks > > Take a look at Parkplace: > http://code.whytheluckystiff.net./svn/parkplace/trunk/lib/parkplace/ > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list >-- gcc -O0 -DRUBY_EXPORT -rdynamic -Wl,-export-dynamic -L. main.o -lruby-static -ldl -lcrypt -lm -o ruby Everyone is trying their hardest to do their job but management has set it up so that it''s impossible. Take the control over your money, track your expenses http://justbudget.com Mathieu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/camping-list/attachments/20060727/31ad7bb8/attachment.html
Anyone know the best way with ROR to let a users select a local file and upload to the server in a specific directory? Jim _________________________________________________________________ Is your PC infected? Get a FREE online computer virus scan from McAfee® Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
I am trying to do a file upload from the DOJO toolkit in a ROR webapp but need to figure out some parameters in the form submit... Do I need to write ROR code and replace the "upload.cgi" with "rubyuploadcontroller.rg"? Is it that simple? I want the uploaded file to end up in a logging in users directory so I would need to capture session info also. I also need to limit file size. This is the example, http://archive.dojotoolkit.org/nightly/tests/io/test_IframeIO.html ....this is the form submit code, <form action="upload.cgi" id="uploadForm" method="POST" enctype="multipart/form-data"> <input type="text" name="foo" value="bar"> <input type="file" name="ul1"> <input type="button" onclick="sendIt();" value="send it!"> </form> Any input on how to create the above functionality would be greatly appreciated! Thanks, Jim _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
Jim Waba wrote:> Anyone know the best way with ROR to let a users select a local file and > upload to the server in a specific directory? > > > Jim > > _________________________________________________________________ > Is your PC infected? Get a FREE online computer virus scan from McAfee� > Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963Hi Jim, U just do search in google by upload and u will get good example by sean which also have upload progress bar with it. Best Luck -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Pratiksha Gajjar <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> writes:> Jim Waba wrote: >> Anyone know the best way with ROR to let a users select a local file and >> upload to the server in a specific directory? >> > > U just do search in google by upload and u will get good example by sean > which also have upload progress bar with it. >use acts_as_attachable. It is better maintained,and has cleaner code. Cheers, Surendra Singhi --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
http://technoweenie.stikipad.com/plugins/show/Acts+as+Attachment is better.> use acts_as_attachable. It is better maintained,and has cleaner code. >- Pratik -- rm -rf / 2>/dev/null - http://null.in Dont judge those who try and fail, judge those who fail to try.. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---