Hi, I haven't seen any working solutions for this, given direct FTP protocols cannot be used, but here are some suggestions you can explore:
- WS Enumeration: It lets you retrieve data in parts and main context across retrieval. http://www.globus.org/toolkit/docs/development/4.2-drafts/common/javawscore/ developer/WSEnumDesign.pdf and some clients are at http://www.globus.org/toolkit/docs/development/4.2-drafts/common/javawscore/ user/index.html (look for ws-enumerate, ws-enumerate-start and ws-enumerate-end). Note that this code targets GT 4.2.x, so you will need to look at last development release, GT 4.1.3. - Sending them as SOAP attachments might be an option. http://www.globus.org/toolkit/docs/development/4.2-drafts/common/javawscore/ developer/javawscore-developer-scenarios.html. Although in this case the payload will be large depending on your image size. - OGSA DAI (http://dev.globus.org/wiki/OGSA-DAI) project might potentially have solutions to treat your resource as a data source and stream things out using WS protocol. If you want to explore that option, the above link has information on mailing lists for the project. Rachana > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Giuseppe Magurno > Sent: Sunday, March 30, 2008 4:55 PM > To: [email protected] > Subject: [gt-user] How to serialize an image / a file > > Hi all. > > I'm developing a simple project using gt4. > > I need to have an image into my resource. I put an int array into my > resource where I save the image serialized trough the PixelGrabber > class, so one int for each image pixel. > > I found this way very heavy because the array is too long also with > images of 100KB. The container can't manage this kind of resource. > > Do you please know a clever way to do it? I can't transfer the file with > a service like ftp but I need to serialize it and send it trough my > service, it's a project specification. > > > Thanks to all > > Giuseppe
