doushuo1080 2018-11-13 20:46
浏览 161

用go从ftp服务器解压缩gz文件的一部分

I am processing large gz file from ftp server without downloading to disk with go.

I am able to fetched any portion of file via this ftp go library

how can i decompress the portion that i fetched?

  • 写回答

1条回答 默认 最新

  • duanguan3863 2018-11-13 21:09
    关注

    You cannot take something from the middle of a gzip file and decompress it. gzip files need to be decompressed from the start unless there are explicit flush points in the file (usually not) in which case data can be decompressed by starting at these flush points.

    评论

报告相同问题?

悬赏问题

  • ¥15 有人能看一下我宿舍管理系统的报修功能该怎么改啊?链表那里总是越界
  • ¥15 cs loadimage运行不了,easyx也下了,没有用
  • ¥15 r包runway详细安装教程
  • ¥15 Html中读取Json文件中数据并制作表格
  • ¥15 谁有RH342练习环境
  • ¥15 STM32F407 DMA中断问题
  • ¥15 uniapp连接阿里云无法发布消息和订阅
  • ¥25 麦当劳点餐系统代码纠错
  • ¥15 轮班监督委员会问题。
  • ¥20 关于变压器的具体案例分析