Hi JP,

On 6/15/06, JP Singh <[EMAIL PROTECTED]> wrote:
> Hi John,
>
>  I have followed the discussion in the forum regarding file upload.
>
>  I assume the Openwfe does not have any way to download the file .

What do you exactly mean ?


>  The uploaded file is saved in /tmp directory of owfeserver
>
>  1.I want to know how to change this /tmp to a directory of my choice.

Locate the file input.py within your OpenWFE webclient.
Upload dir is determined at line 102 of it.


>  I want to upload the file in a webserver's folder.
>
>  2. I see the file has four different field file name,file path,file
> type,file size.
>
>  How to extarct each field and store it in some variable so that file path
> can be given as  a link.

<set variable="fname" field-value="your-file-field.0" />
<set variable="fsize" field-value="your-file-field.3" />

See around line 481 of file input.py.


>  I am working on linux. I have tested the file is actually transferred. Last
> time when I had used this feature it was not transferred to wfeserver.

Last time ?= which version of OpenWFE
On which version of OpenWFE are you currently working ?
What do you mean with "wfeserver" ? Engine, worklist, webclient, apre ?


Best regards,

-- 
John Mettraux   -///-   http://jmettraux.openwfe.org


_______________________________________________
OpenWFE - Open source WorkFlow Engine
OpenWFE-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openwfe-users

Reply via email to