Dell Unity: How to force FTP server to use binary mode (User Correctable)
Summary: When uploading text files to Unity's FTP server, file formatting may become invalid due to the difference between Windows and Unix/Linux end-of-line (EOL) characters. Windows uses two characters, CR+LF while Unix/Linux only uses LF. By default, Unity's FTP server uses ASCII transfer mode and since Unity uses a Unix/Linux base, all EOL characters are converted to LF. This makes files appear to be broken when read from a Windows client. To avoid this behavior, files should be uploaded using bin transfer mode. This makes sure the file is transferred "as is" with no changes. This may also be helpful when transferring image, audio and video files as they also require binary mode to avoid corruption. ...
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
To force Unity's FTP Server to use binary transfer mode, use this command:
spa:~/user# svc_nas ALL -param -facility ftpd -modify forceBinXfer -value 1
param ftpd.forceBinXfer added into the list of visible params
SPA : done
Warning 17716815750: SPA : You must reboot the SP for forceBinXfer changes to take effect.
The SP must be rebooted for the change to take effect.
spa:~/user# svc_nas ALL -param -facility ftpd -modify forceBinXfer -value 1
param ftpd.forceBinXfer added into the list of visible params
SPA : done
Warning 17716815750: SPA : You must reboot the SP for forceBinXfer changes to take effect.
The SP must be rebooted for the change to take effect.
This command can be used to check current config:
spa:~/user# svc_nas ALL -param -facility ftpd -l
SPA :
param_name facility default current configured
forceBinXfer ftpd 0 1 1
SPB :
param_name facility default current configured
forceBinXfer ftpd 0 1 1
Additional Information
For more information regarding NAS Parameters, see Article Number 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.