First off, try to confirm what is in the file your remote user has recieved, outside of their normal process. If your remote users can use a Unix/Linux command line and do
head -1 ftped_file.txt | cat -vet
and you should see ^I
char sequences, that means that tabs are in the remote file.
This assumes that the first line of text in you file has Tab chars in it. If not, then you need to change head -1
to head -5
or whatever count you need to see lines that have tab chars.
Otherwise, there are 3 places (maybe more) that your file can get changed.
your ftp client. Do
man ftp
and search for "tab" and/or "space" and confirm there is no option on your client that converts tabs to spaces.the remote ftp server. You'll have to find the doc for that server and do the same search.
(The most likely place), Your remote client's file viewer? Are they opening this file in a text editor like Ultra-Edit, notepad++ or other? Many of those have a default option to convert tabs to spaces.