天天看點

Linux~連接配接windows的ftp,unzip出現的問題

在linux進行連接配接windows下的ftp伺服器

ftp://192.168.2.71

輸入使用者名和密碼登陸成功 

當使用get把檔案下載下傳後,然後unzip進行解壓時,出現了問題

error [10201_database_linux32.zip]:  start of central directory not found;

  zipfile corrupt.

  (please check that you have transferred or created the zipfile in the

  appropriate BINARY mode and that you have compiled UnZip properly)

用file 檢查檔案

[oracle@localhost oracle]$ file 10201_database_linux32.zip 

10201_database_linux32.zip: Zip archive data, at least v1.0 to extract

解決方法

linux上連接配接ftp伺服器

然後進行二進制指令

ftp> bin

200 Type set to I.

最後再進行解壓,就可以成功了!

這個問題事實上困擾了我很久,可能是自己的linux底子比較薄弱,呵呵!

作者:倉儲大叔,張占嶺,

榮譽:微軟MVP

QQ:853066980

支付寶掃一掃,為大叔打賞!

Linux~連接配接windows的ftp,unzip出現的問題