adGeek x FET 檔案傳送流程 ========================== ###### Tags: `FETNet`, `遠傳` ## Changed logs | Date | Content | Author | |------------|-----------------------------------|---------------------------------------| | 2020/10/13 | Modified file name of zip and txt | [Eric Huang eric.huang@adgeek.com.tw] | | 2020/09/26 | Upload 20200921 file again | [Eric Huang eric.huang@adgeek.com.tw] | | 2020/09/21 | Added Launch and test notice | [Miles Wu miles.wu@adgeek.com.tw] | | 2020/07/09 | Initial document | [Miles Wu miles.wu@adgeek.com.tw] | ## 架構圖  ### 流程說明 1. AdGeek與FET持有相同密鑰(key),壓縮檔案的密碼為```sha256(YYYYMMDD+key)``` 2. AdGeek透過SFTP傳輸以下檔案 * 壓縮檔,檔名為 ```27202_YYYYMMDD.zip``` * 檔名為```27202_{md5(壓縮檔)}.txt``` 3. FET收到後先檢查```md5(收到的壓縮檔)```與**txt檔名**一致,確保資料傳輸完整 5. FET使用相同密鑰,透過```sha256(YYYYMMDD+key)```作為解壓縮密碼 ## 測試說明 ### adGeek - 上傳檔案1 27202_20200921.zip - 上傳檔案2 ~~256359d3c56a9869600ca148988a61c5.txt~~ - 上傳檔案2 921ed8b0ce43978b0bd26d3d4d192a95.txt #### 檔案截圖  ### 遠傳 - 確認檔案1的md5值為檔案2的檔名(without extension) - 透過 sha256(YYYYMMDD + "dcZGkwde5Ysh5NrTpG5Le7QLhcZWPtHX") 解壓縮檔案1 - 檢查解壓縮後的檔案格式為 csv - 檢查解壓縮後的檔案內容欄位分別依序如下 * 好友編號(CIBOT 系統流水號) * 好友名稱 * 好友 LINE ID * 好友頭像 (URL from LINE API) * 手機號碼 * 是否為遠傳用戶 * 綁定時間 * 好友標籤(兩個以上,會以分號;分隔) ## 上線準備 1. 請遠傳開通正式環境IP: 18.180.68.201
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up