You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 6, 2024. It is now read-only.
When use backupFileStream writer to create .zip file and add files inside it using Xceed.Zip.ReaderWriter.ZipWriter the BackupWrite native method return (13) the data is invalid. The code sample below :
private void createZipFile(string _path)
{
try
{
FileInfo info = new FileInfo(_path);
When use backupFileStream writer to create .zip file and add files inside it using Xceed.Zip.ReaderWriter.ZipWriter the BackupWrite native method return (13) the data is invalid. The code sample below :
private void createZipFile(string _path)
{
try
{
FileInfo info = new FileInfo(_path);
Xceed.Zip.ReaderWriter.ZipItemLocalHeader oZipEntry = null;
string sZipFileGUID = Guid.NewGuid().ToString();
if (!Directory.Exists(info.DirectoryName))
Directory.CreateDirectory(info.DirectoryName);
}