[ 
https://issues.apache.org/jira/browse/VFS-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gayatri Deshpande updated VFS-273:
----------------------------------

    Attachment: transferred_file.txt
                original_file.txt

> Files with lines containing whitespace characters trailing as well as 
> embedded in between are not transferred correctly
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: VFS-273
>                 URL: https://issues.apache.org/jira/browse/VFS-273
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Windows, AIX, JDK 1.5 
>            Reporter: Gayatri Deshpande
>         Attachments: original_file.txt, transferred_file.txt
>
>
> I was trying to transfer a plain text file with fixed length fields. The 
> length of any line in the file must be fixed. For this whitespace characters 
> are used to pad within the line as well as at the end whenever remaining 
> length of a field is unused or in case of field with null values.
> On AIX, where the length should have been 401 characters, only 93 characters 
> are transferred (seemingly first 93)
> On Windows, for the same file, only 75 charatcers are transferred (seemingly 
> first 75)
> This is the string in the file (without the quotes):
> "XY000010123456789011123TEST TESTTEST                                         
>                    000 N. APACHE STREET                                       
>                       OPENSOURCE          NY 12345123456  00001234567890000   
>                  00          XXXXX00000000000000000                           
>                   0000123                                                     
>             "

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to