Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users

file transfer

 

 

Cherokee users RSS feed   Index | Next | Previous | View Threaded


jeremy at ZeeVee

Apr 3, 2011, 12:53 PM

Post #1 of 4 (442 views)
Permalink
file transfer

Hi,



Through the server, I need a firmware update mechanism on an embedded
system. Using the normal http/php file upload mechanism won't work
because there isn't space for temporary storage of the entire file -- I
need to process it as it's received (decompress, store).



Actually, poking through Cherokee-admin, I don't see anything on this,
even temp directory control etc...



Any pointers on this?



Thanks,

Jeremy


me at pigmej

Apr 3, 2011, 12:55 PM

Post #2 of 4 (428 views)
Permalink
Re: file transfer [In reply to]

"upload_tmp_dir" PHP configuration variable ;-)

As Cherokee is using php-cgi you need to configure PHP itself ;)

Pozdrawiam
Jędrzej Nowak



On Sun, Apr 3, 2011 at 9:53 PM, Jeremy Greene <jeremy [at] zeevee> wrote:
> Hi,
>
>
>
> Through the server, I need a firmware update mechanism on an embedded
> system. Using the normal http/php  file upload mechanism won’t work because
> there isn’t space for temporary storage of the entire file -- I need to
> process it as it’s received (decompress, store).
>
>
>
> Actually, poking through Cherokee-admin, I don’t see anything on this, even
> temp directory control etc…
>
>
>
> Any pointers on this?
>
>
>
> Thanks,
>
> Jeremy
>
> _______________________________________________
> Cherokee mailing list
> Cherokee [at] lists
> http://lists.octality.com/listinfo/cherokee
>
>
_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


jeremy at ZeeVee

Apr 3, 2011, 1:03 PM

Post #3 of 4 (415 views)
Permalink
Re: file transfer [In reply to]

Ah... ok, I will look at php. I wasn't clear on what the server is doing and what php is doing for the upload. But I guess I should have looked at php too :)

Jeremy

-----Original Message-----
From: pigmej [at] gmail [mailto:pigmej [at] gmail] On Behalf Of Jedrzej Nowak
Sent: Sunday, April 03, 2011 3:56 PM
To: Jeremy Greene
Cc: cherokee [at] lists
Subject: Re: [Cherokee] file transfer

"upload_tmp_dir" PHP configuration variable ;-)

As Cherokee is using php-cgi you need to configure PHP itself ;)

Pozdrawiam
Jędrzej Nowak



On Sun, Apr 3, 2011 at 9:53 PM, Jeremy Greene <jeremy [at] zeevee> wrote:
> Hi,
>
>
>
> Through the server, I need a firmware update mechanism on an embedded
> system. Using the normal http/php  file upload mechanism won’t work because
> there isn’t space for temporary storage of the entire file -- I need to
> process it as it’s received (decompress, store).
>
>
>
> Actually, poking through Cherokee-admin, I don’t see anything on this, even
> temp directory control etc…
>
>
>
> Any pointers on this?
>
>
>
> Thanks,
>
> Jeremy
>
> _______________________________________________
> Cherokee mailing list
> Cherokee [at] lists
> http://lists.octality.com/listinfo/cherokee
>
>
_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


kaltschu at harris

Jul 17, 2012, 12:24 PM

Post #4 of 4 (244 views)
Permalink
Re: file transfer [In reply to]

Jeremy Greene <jeremy <at> ZeeVee.Com> writes:

>
> Through the server, I need a firmware update mechanism on an embedded system.
Using the normal http/php file upload mechanism won’t work because there isn’t
space for temporary storage of the entire file -- I need to process it as it’s
received (decompress, store).
>
> Actually, poking through Cherokee-admin, I don’t see anything on this, even
temp directory control etc…
>
> Any pointers on this?

If the problem is that your /tmp folder is in RAM and of small size, you can
direct Cherokee to store the upload into a larger partition (assuming you have a
large Flash file system).

Export the following environment variable before starting the web server.

export CHEROKEE_TMPDIR=/path/to/large/mount
cherokee -your-command-line-options


_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee

Cherokee users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.