--line-ending
does not seem to do anything
#3113
Labels
more information required
Issue requires more information or a response from the customer
Version information
Goal
I want to insert records using
sf data import bulk
from a CSV file.Issue
We are running Windows. The CSV file uses LF line endings. The CLI does not recognize this, and attempts to upload the file using CRLF endings, which causes a mismatch issue. Rerunning the import command using the
--line-ending LF
flag does not affect the behavior of the CLI, and we receive the same error telling us that it's trying to use CRLF endings during upload, which causes an error.Error message:
Workaround
We are able to work around this issue by changing the line endings in the CSV file to CRLF using a text editor or shell utility.
Expected behaviour
The
--line-ending LF
flag causes the CLI to perform an upload using LF line endings, instead of ignoring it and using CRLF all the time.Additional info
The help info for the command contains a typo:
Presumably 'LR' should be 'LF'.
The text was updated successfully, but these errors were encountered: