|
The GNU utils would be a reasonable fit here. If your web page was, say, Net.Data or JSP driven, when a doc was requested it could call a routine to decompress the file when requested before delivering the file to the client. If necessary, store the decompressed files in a dir that gets cleared periodically (since there's no IFS QTEMP equivalent). Something like: Page A: List of documents (Net.Data reading the archive directory, substituting .PDF for .ZIP). User selects document. Page B: Net.Data executes a CL/script to unzip the document and copy it to the 'tempdownload' IFS dir. Then calls Page C. Page C: Presents the doc. Page C could alternately be a script that emails the doc to the user, copies to a QNTC folder they can access, etc. Periodically the tempdownload directory is cleared with: RMVLNK '/rootwebfolder/tempdownload/*' Of course, the above will use some CPU. If the users are bright enough to understand ZIP files, just let them download the ZIP and unzip it themselves. - John -----Original Message----- From: Vern Hamberg [mailto:vhamberg@xxxxxxxxxxxxxxxxxxxxxxxxx] Sent: Thursday, May 08, 2003 11:21 AM To: Midrange Systems Technical Discussion Subject: RE: as400 as a samba/nt client Not exactly an equivalent, since you need to decompress manually, but IBM has a set of GNU Utilities that includes gzip/gunzip. The utilities are free. The executables are actually regular AS/400 programs in library GNU and can be called from a command line, not just in QShell, with some righteous parameter handling. Available at <http://www-1.ibm.com/servers/enable/site/porting/iseries/overview/gnu_u tilities.html> At 08:18 AM 5/8/2003 -0500, you wrote: >Kind of a side issue, but have you considered compressing the files >with a ZIP-style utility? Example: I just compressed the V5R2 Handbook >and it went from 12.2MB to 5.4 using the WinXP native compressor. >While you research your long-term storage strategy, this should free up >1/2 or more of the space currently being consumed. > >Is there a CPROBJ equivalent for IFS files? I haven't noticed one. > >- John _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo.cgi/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. This e-mail is for the use of the intended recipient(s) only. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not use, disclose or distribute this e-mail without the author's prior permission. We have taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. We cannot accept liability for any loss or damage caused by software viruses.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.