Re: Uploading files

2007-06-18 Thread roseyaxkit . 20 . ftumsh
On Tue, 2007-06-12 at 18:58, Matt Sergeant - [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED] wrote:
  I did offer to write a file upload.

 You certainly shouldn't have to have any knowledge about Danga. All you 
 need to know about is the format that file upload data comes in as. 
 Check the parse_post_params plugin.
 
 Also, use latest svn for this, as there are bugs in the released code.

Right, it's nearly done.
It's using two modules, MIME::Parser and File::Temp. Is that ok?

All I have to do is test it using browsers (I was using curl) and
also put a lot of the hard coded stuff into the config file.

I've also taken the liberty of removing the die and putting in a return
DECLINED but that doesn't seem right. How do I show a graceful error
from a system plugin? There are two sorts of errors here, one that is
essentially a die and the other is not :) ie they are trying to upload
too large a file, what's to do about that?

Anyway, if it compiles, I'll ship it...

John



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Uploading files

2007-06-12 Thread roseyaxkit . 20 . ftumsh
Lo,

I did offer to write a file upload. Well, I haven't as yet...
Mainly because I have no clue about Danga. Would a mod to the
parse_post_params work ie have the danga stuff carefully hidden
from me or will one of the project coders have to hack at it?

Any clue, caveats gratefully received...

John



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Uploading files

2007-06-12 Thread Matt Sergeant

[EMAIL PROTECTED] wrote:

Lo,

I did offer to write a file upload. Well, I haven't as yet...
Mainly because I have no clue about Danga. Would a mod to the
parse_post_params work ie have the danga stuff carefully hidden
from me or will one of the project coders have to hack at it?


You certainly shouldn't have to have any knowledge about Danga. All you 
need to know about is the format that file upload data comes in as. 
Check the parse_post_params plugin.


Also, use latest svn for this, as there are bugs in the released code.

Matt.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



ax2 uploading files

2007-01-26 Thread john1
Lo,

The plugin isn't written yet. Any idea when it might be?
If it's not soon, I could always have a go myself in a week or two...

John


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: ax2 uploading files

2007-01-26 Thread Matt Sergeant

On 26-Jan-07, at 11:43 AM, [EMAIL PROTECTED] wrote:


The plugin isn't written yet. Any idea when it might be?
If it's not soon, I could always have a go myself in a week or two...


We just need to implement multipart/form-data in the parse_post_data  
plugin. Shouldn't be too hard - I suggest you have a go :-)


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]