Suggestion: Work with open files #634

Open
opened 2026-01-29 22:15:01 +00:00 by claunia · 1 comment
Owner

Originally created by @njtaz76 on GitHub (May 10, 2024).

Hi,

Is there a way to use SharpCompress and have it add files that are currently open by another application? I'm trying to create a log uploader, but it will fail if a file is currently open by another process. These are text files.

Thanks
chris

Originally created by @njtaz76 on GitHub (May 10, 2024). Hi, Is there a way to use SharpCompress and have it add files that are currently open by another application? I'm trying to create a log uploader, but it will fail if a file is currently open by another process. These are text files. Thanks chris
Author
Owner

@adamhathcock commented on GitHub (May 11, 2024):

use a Stream and File.Open with different FileAccess settings. This isn't unique to sharpcompress

@adamhathcock commented on GitHub (May 11, 2024): use a Stream and File.Open with different FileAccess settings. This isn't unique to sharpcompress
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#634