my files are in various directories. I read a input file called test.txt to get the files and tar them up. I then move the tar file to a unix box.
Example of my input file:
test/test1.txt
test2/test.sql
test/test2/test3.txt
I am able to move the file to unix box but when I untar the files and take a look at it they have ^M and end of each line. I am doing ftp in binary mode. If I use asii I get the error block size error.
| [reply] [d/l] [select] |
Given your additional info I would agree with the comments later in the thread.. use dos2unix to convert text files (barring that, you could write a reg-exp to strip the ^M at every newline).
Secondly, try a test case involving tarring only text files to see whether the block size error is intrinsic, or data dependent.
-muoyo | [reply] |