Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6887797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:55:43+00:00 2026-05-27T05:55:43+00:00

I created quite a neat application for backups. It just copies the directories you

  • 0

I created quite a neat application for backups. It just copies the directories you specify to wherever you want. Unfortunately I encountered a problem. The maximum length of the file path is about 250 so what happens is that the program can’t copy files if the new location path is longer – and the program collapses.

I learned that using zip archives would resolve the problem. But… The program uses some filters and it’s logic isn’t that straightforward. I really wouldn’t like to rewrite it all.

My program visits all subdirectories in a specified directory and checks if there are any new or modified files there. If it finds some it copies it to …./Backups/……../dir_A/dir_B/file. Every file and dir is processed separately (it’s checked if it was modified, if it fits the filters, etc)

What I need is something that would help me substitute Backups directory with Backups.zip Especially offering something like this:

myArchive.copyFile("dir_a/dir_b/...../file", original_file_path);
myArchive.fileModificationDate("dir_a/dir_b/...../file");
myArchive.getDirectotiesIn("dir_a/dir_b/");

Is there such a feature in .Net? Or maybe there is a free library for this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T05:55:44+00:00Added an answer on May 27, 2026 at 5:55 am

    There are mainly two free alternatives for handling zip files in c# :

    • DotNetZip
    • SharpZipLib

    I prefer DotNetZip.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a quite specific problem. I created a webapp and want to have
I'm developing a WinForms c# 3.0 application. Our designer created quite a lot of
So I created images generator (quite simple onewhich generates RGBs) I want to be
I have already created quite a nice android application. I worked hard on the
I have created server application that has to process some data (that is quite
This is quite literally the first problem in Project Euler. I created these two
I am quite new to Ext JS 4 and I have created a Panel
I created a portable development environment off of portable apps and quite a few
I have created a nice icon for my app that quite accurately reproduces the
I'm creating a game, and am quite new to Python generally. I created a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.