Login  
Search All Forums
Dart Home | PowerTCP Zip Compression for .NET | Custom Development Reply | PowerTCP Zip Compression for .NET Topics | Forums   
AuthorForum: PowerTCP Zip Compression for .NET
Topic: Can't add files with comma in filename
phlexss

From: Waalwijk, Netherlands
Posts: 31
Member Since: 03/17/04
posted August 31, 2017 9:10 AM

Hi,

I'm using Dart.PowerTCP.Zip v2.1.0.5.

I can't seem to add a file that has a comma in the filename to an archive.

Adding a folder (that contains this file) using *.* works, but not adding the individual file.

Is there a fix for this?

Regards,
Ton Trommelen.
phlexss

From: Waalwijk, Netherlands
Posts: 31
Member Since: 03/17/04
posted August 31, 2017 9:19 AM

I found the article describing to replace the , with a *

That works, but isn't a very elegant solution.

Is there a fix for this strange behaviour?
Nick B (Admin)

From: Utica, NY USA
Posts: 619
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted September 1, 2017 4:16 PM

Hello,

The component defaults to using "," as a delimiter so multiple files can be added in a single call. To change this functionality, Archive.Delimiter may be set to a different char, or the null char (or some other filepath-illegal char) to disable this functionality:
archive1.Delimiter = '\0';

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

phlexss

From: Waalwijk, Netherlands
Posts: 31
Member Since: 03/17/04
posted September 1, 2017 4:25 PM

Hi,

Thanks for the info....I'll try that...
Reply | PowerTCP Zip Compression for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX