Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need compression tool
Message
From
30/08/1999 08:52:17
 
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00257114
Message ID:
00259114
Views:
35
Just to elaborate on what Ed said... Sending a compressed file over a modem connection that is compressing the data stream anyway will actually increase the size of the data going over the wire. "Compression on compression leads to expansion" (in most cases). So you're better off compressing it once and only once either by doing it first and setting your modem, etc. to not compress or just letting your modem do it for you. I'd (like Ed) recommed that the modem do it for you.

- A Hilton


>>The object is to compress a file for modem transmission, but with no user intervention. I've gone to dynazip's web page and downloaded there demo..going to give it a try. Thanks all....
>>
>
>If you're going straight modem-to-modem, I'd take a look to see how much compression is accomplished for you with the native modem protocols; you may well find that DBFs with lots of whitespace compress very well on v.32 connections all by themselves. Compore the transmission times of compressed vs uncompressed files, especially if you use something like PCAnywhere which also has its own transmission compression built in.
>
>>>>I have a file that my FoxPro app need to compess automaticly...any ideas?
>>>
>>>Do you mean that you need to use a compression utility against it without user intervention? If so, you can launch a file compression tool, either with a command line utility using the DOS RUN command or something like the API_APPRUN class (for example, using PKZIP), or programatically using an ActiveX tool like DynaZip.
>>>
>>>If you're looking for something that will maintain the file with automated compression on the disk drive, your best bet is to maintain the file on an NTFS volume and enable compression under NT - that will automatically compress and decompress the file on the hard drive as the file is accessed, similar to what things like DriveSpace do for Win9x/DOS, but in a much more reliable fashion. DriveSpace3 under Win98 is a good second choice, but as I recall, you're limited to working with FAT16 (2GB disk volume sizes). I'd avoid earlier Win9x compression tools, and stay as far away from NetWare's file compression as you can - there are tremendous problems associated with database apps accesing files under NetWare drive compression documented in both Novell's and Microsoft's KBases.
A Hilton
Software & Technology Development,
Programming & Business Process Consulting
Previous
Reply
Map
View

Click here to load this message in the networking platform