[Mongrel] mongrel_upload_progess_bar - where are my files?

Jochen Kaechelin gissmog at humanized.de
Mon May 5 12:43:19 EDT 2008


> I just configured mongrel_upload_progess_bar following this doc:
>
>       http://mongrel.rubyforge.org/wiki/UploadProgress
>
> My "config/mongrel_upload_progress.conf" looks like:
>
> uri "/",
>  :handler => plugin("/handlers/upload",
>    :path_info => '/Users/railer/Documents/RAILS/dummy/files/upload',
>    :drb => 'druby://127.0.0.1:2999'),
>  :in_front => true
>
>
> Everything seems to work fine, progress bar, form, logfile ...
>
> But I could not find my uploaded files in the path...I only recognize
> some files in /var/folders/...bla ... bla ...
>
> development.log:
>
> Processing FilesController#upload (for 127.0.0.1 at 2008-05-05
> 01:50:19) [POST]
>  Session ID:
> BAh7BzoMY3NyZl9pZCIlNGZjYzE3M2I1M2VhZjA4NzU3NWRhODAwODY3MWQ1
> %0ANGUiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh
> %0Ac2h7AAY6CkB1c2VkewA%3D--56884b6ccd656497d776379fa23d7909bc5afb83
>  Parameters: {"commit"=>"Upload",
> "authenticity_token"=>"6a06cc13fcb42087ee3a74e2e6a16c2c0d1df8f6",
> "action"=>"upload", "controller"=>"files", "upload_id"=>"1209944944",
> "data"=>#<File:/var/folders/wY/wYe0+otlEPq0TtDuamD7IU+++TM/-Tmp-/
> CGI808-2>}
> Completed in 0.00295 (339 reqs/sec) | Rendering: 0.00005 (1%) | DB:
> 0.00000 (0%) | 200 OK [http://127.0.0.1/files/upload?upload_id=1209944944
> ]
>
>
> What's wrong here?
>
> Thanx
>
> --
> Jochen


More information about the Mongrel-users mailing list