Migrating files compressed with gzcompress() [PHP] -


i have files on home/domain.com/path/to/file.txt data compressed using gzcompress(). need move files home/otherdomain.com/newpath/to/file.txt. copied files, when change path on file read compressed data warning: gzuncompress(): data error.

i tried copy files again in case of error during copy didn't solve it. if try old uri works well.

how solve , can avoid same issue in case need move files again in future (ie: server migration)?


Comments

Popular posts from this blog

c++ - What's the differece between of link to a dynamic file and as a input object? -

javascript - Feed FileReader from server side files -

Android Unit Testing / Mockito: android.location.Location not mocked -