I see... You want to progressivly flush text to the user... Not real sure how to do that either! Upload the file, and then forward to a servlet that then does it.. I think if you look at the response object, you may be able to flush text out to the other end versus caching it until everything is done...
Not sure though.. Oh, and your english is fine! Eric -----Original Message----- From: Jorge Aguilera [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 1:38 PM To: Turbine Users List Subject: 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]>
