I am creating a zip file in say c:\Archive, location(could be a network drive also) i need to check whether there is enough space for zipped file to fit in C:\archive.
Currently what i am doing is first creating a zip file in the same location C:\Archive and then comparing the size of file with the disk space available.
But the problem is i have already written that file to that location(C:\Arc hive). Is there any other alternative?
Currently what i am doing is first creating a zip file in the same location C:\Archive and then comparing the size of file with the disk space available.
But the problem is i have already written that file to that location(C:\Arc hive). Is there any other alternative?
Comment