Hi Jorge

I had a similar problem. I solved it using a session-tool that creates a
separate thread for the work updating a list of messages and the status
of the thread (running, ready and so on). 
These informations could be used in a Velocity-Screen which reloads at a 
given interval (I used 30 seconds) displaying the messages and stopping
the reload when status is set to ready.

 Uwe

-----Urspr�ngliche Nachricht-----
Von: Jorge Aguilera [mailto:[EMAIL PROTECTED]]
Gesendet am: Dienstag, 16. April 2002 19:38
An: Turbine Users List
Betreff: Fw: Load a file into a table

Thanks Eric
But my problem is not for space (well the TR.prop's maxfile is
interesting....)
My problem begin when the file is in my server.

When this occur I will read the file line to line and I will insert into the
table. This process is slow (I suppouse) and I would like that the user see
:
 "your file is uploaded"
 "inspecting the file"
 "inserting 100 rows" etc

 but I don't know where place the code. I don't know if the best place is in
the Upload action, or if there is a service ......

(I don't know if I'm explain well because I don't speak english, sorry)

----- Original Message -----
From: "Eric Pugh" <[EMAIL PROTECTED]>
To: "'Turbine Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 6:59 PM
Subject: RE: Load a file into a table


> Somewhere in TR.prop's you can change the maxfileuploadsize.  I am
uploading
> 36 MB zip files of MP3's successfully!
>
> Because uploading a file is not asynchonous, the user must wait while the
> file is uploaded however...
>
> Eric
>
> -----Original Message-----
> From: turbine dev [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 16, 2002 12:50 PM
> To: Turbine Users List
> Subject: Load a file into a table
>
>
> Hi,
>
> I'm new in turbine so......
>
> I need load a user flat ASCII file into a table. This user send me the
file
> via UploadService and I can read the file and load the data into the
table.
> But if the file is large the user has a timeout .
> what's the best way for load the file into the table ? With a thread ?
> there is a Service ?
> how can the user see when I finish ?
>
>
> thanks in advance.
>
> Jorge Aguilera
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>

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

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

Reply via email to