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
the closure gets called twice. First time with the url to the unzipped file in toDirUrl, so something like:
..../toDirUrl/myfile.png
the closure then gets called a second time pointing to:
..../toDirUrl/__MACOSX/._myfile.png
Problem is that ..../toDirUrl/__MACOSX/._myfile.png is no good. Image is not readable. Also, not sure why I get called to let me know that unzipped file is in ..../toDirUrl/__MACOSX/._myfile.png when I already have a good readable version of it exactly at the path I specified ..../toDirUrl.
So, now I have to special case and ignore any url pointing to the ..../toDirUrl/__MACOSX/... directory.
The text was updated successfully, but these errors were encountered:
When unzipping a file to a directory
toDir
using this call:the closure gets called twice. First time with the url to the unzipped file in
toDirUrl
, so something like:..../toDirUrl/myfile.png
the closure then gets called a second time pointing to:
..../toDirUrl/__MACOSX/._myfile.png
Problem is that
..../toDirUrl/__MACOSX/._myfile.png
is no good. Image is not readable. Also, not sure why I get called to let me know that unzipped file is in..../toDirUrl/__MACOSX/._myfile.png
when I already have a good readable version of it exactly at the path I specified..../toDirUrl
.So, now I have to special case and ignore any url pointing to the
..../toDirUrl/__MACOSX/...
directory.The text was updated successfully, but these errors were encountered: