Dell Unity:如何強制 FTP 伺服器使用二進位模式 (可由使用者更正)

Summary: 將文字檔案上傳至 Unity 的 FTP 伺服器時,由於 Windows 和 Unix/Linux 訊號線尾 (EOL) 字元的差異,檔案格式可能會無效。Windows 使用兩個字元:CR+LF,而 Unix/Linux 僅使用 LF。 根據預設,Unity 的 FTP 伺服器會使用 ASCII 傳輸模式,而且由於 Unity 使用 Unix/Linux 基座,所有 EOL 字元都會轉換為 LF。這會讓從 Windows 用戶端讀取檔案時,檔案看起來會損壞。 為避免此行為,檔案應使用垃圾箱傳輸模式上傳。如此可確保檔案依「原樣」傳輸,無須變更。在傳輸映射、音訊和影像檔案時,這可能也有所説明,因為它們也需要二進位模式以避免損毀。 ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

若要強制 Unity 的 FTP 伺服器使用二進位傳輸模式,請使用此命令:

spa:~/user# svc_nas ALL -param -facility ftpd -modify forceBinXfer -value 1

param ftpd.forceBinXfer 已新增至可見的 params
SPA 清單:完成

警告17716815750:   SPA:您必須重新開機 SP,以使 forceBinXfer 變更生效。


必須重新開機 SP,才能使變更生效。
 

此命令可用來檢查目前的組態:
 

    spa:~/user# svc_nas ALL -param -facility ftpd -l

SPA:
    param_name功能預設目前設定的
forceBinXfer ftpd 0 1 1

SPB:
    param_name功能預設目前設定
的 forceBinXfer ftpd 0 1 1

 

Additional Information

如需 NAS 參數的詳細資訊,請參閱文章編號490733

Affected Products

Dell EMC Unity, Dell EMC Unity 300F, Dell EMC Unity 350F, Dell EMC Unity XT 380, Dell EMC Unity XT 380F, Dell EMC Unity 400, Dell EMC Unity 400F, Dell EMC Unity 450F, Dell EMC Unity XT 480, Dell EMC Unity XT 480F, Dell EMC Unity 500 , Dell EMC Unity 500F, Dell EMC Unity 550F, Dell EMC Unity 600, Dell EMC Unity 600F, Dell EMC Unity 650F, Dell EMC Unity XT 680, Dell EMC Unity XT 680F, Dell EMC Unity XT 880, Dell EMC Unity XT 880F, Dell EMC Unity Family |Dell EMC Unity All Flash, Dell EMC Unity Family, Dell EMC Unity Hybrid, Dell EMC UnityVSA Professional Edition/Unity Cloud Edition ...
Article Properties
Article Number: 000216708
Article Type: How To
Last Modified: 29 Nov 2023
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.