c# - Specify an order while unzipping files -
I am using dotnet zip library to programmatically zip my files. As a result zip file is then uploaded to the server using SFTP.
My question is, is there a way on which files should be unzipped on the server.
I am not sure about the job, which works to cancel the work.
Edit: For each of these documents, there are 100 documents in the zip (usually PDF) and 100 metadata files. The metadata file ends with the .metadata. With such extensions, the file triggers a job on the server to see the document specified by metadata. After removing all other normal files, I can remove .metadata files from these zip.
A common approach to this type of thing is often to remove it at a temporary location, then Luggage pick up at the pick-up location later
In this way you should not have any problems with the files or order of half-written, and failing to fail if you do not leave the half-data set to the consumer needed.
Comments
Post a Comment