[Rails] Re: Upload file with url parameter

2009-05-13 Thread Peter Vandenberk
Hi Bennet, On 12 May 2009, at 13:07, PyroHiroshi wrote: > On May 11, 12:39 pm, Frederick Cheung > wrote: >> On May 11, 11:11 am, "hongseok.com" wrote: > I just want the client(kind a application running automatically) > to > >> uploadfileto the web server as it wants. How do

[Rails] Re: Upload file with url parameter

2009-05-12 Thread Starr Horne
The only way to do anything like that would be to have the user install a client on their computer. For example, you can upload arbitrary files using adobe air. But otherwise, is verboten. SH -- Starr Horne Check out my Helpdesk RailsKit: http://railskits.com/helpdesk/ --~--~-~--~---

[Rails] Re: Upload file with url parameter

2009-05-12 Thread pharrington
Unless either someone develops a wonderful (i use the term *very* loosely) exploit or I misunderstand what you're trying to do here, there is no way to do what you're trying to do. Neither Javascript, Flash, nor Java (unless the user's insane and sets up their JVM to do this) can automatically rea

[Rails] Re: Upload file with url parameter

2009-05-12 Thread PyroHiroshi
This is exactly what I've been trying to do all day. Not as easy as you'd think. There are absolutely no examples of this available anywhere. It's a wonder that people haven't been trying to do this for a while 'cause it has many different uses, like streaming data directly through the 80 port wh

[Rails] Re: Upload file with url parameter

2009-05-11 Thread Frederick Cheung
On May 11, 11:11 am, "hongseok.com" wrote: > I just want the client(kind a application running automatically) to > upload file to the web server as it wants. > > How do I do this? > you'll need to construct an appropriate post request (read up on multipart post requests) containing the file Fr

[Rails] Re: Upload file with url parameter

2009-05-11 Thread hongseok.com
I just want the client(kind a application running automatically) to upload file to the web server as it wants. How do I do this? On 5월11일, 오후5시53분, Frederick Cheung wrote: > On May 11, 7:52 am, "hongseok.com" wrote: > > > I want to upload file using get method. > > for example, "http://www.myd

[Rails] Re: Upload file with url parameter

2009-05-11 Thread Frederick Cheung
On May 11, 7:52 am, "hongseok.com" wrote: > I want to upload file using get method. > for example, "http://www.mydomain.com/upload?file=c:\test.exe"; upload > my local file to the remote server. > I found one useful link about file uploading > here(http://www.tutorialspoint.com/ruby-on-rails/r