Dear Statalisters,
I'm working on some heavy Stata files with colleagues on a common Dropbox. At some point in our do-file, we need to extract some files contained in a zip file because one of them is too heavy for the Dropbox. The code is :
With $inp being a shortcut for my directory. I get the following output :
I hid the details on my directory but there is no mistake regarding the macro $inp. I am really bad in informatics and I have no clue about what a CEN header means. There are supposed to be two datasets in the zipfile but for some reason Stata do not seem to recognize it. It works perfectly fine when I open it on softwares such as WinRar for example.
I would not want to open a zip file from a stranger, so I won't attach any file to this thread. Did anyone face the same issue and might help me finding a solution? Does this problem have to do with me working on a Dropbox ?
Regards,
Adam
I'm working on some heavy Stata files with colleagues on a common Dropbox. At some point in our do-file, we need to extract some files contained in a zip file because one of them is too heavy for the Dropbox. The code is :
Code:
unzipfile "$inp/Database", replace
Code:
invalid CEN header (bad compression method: 9) extracting XXXXXXXX/Database.zip incomplete total processed: 0 skipped: 0 extracted: 0 r(692); end of do-file
I would not want to open a zip file from a stranger, so I won't attach any file to this thread. Did anyone face the same issue and might help me finding a solution? Does this problem have to do with me working on a Dropbox ?
Regards,
Adam
Comment