[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

extra blank space issue...



Title: extra blank space issue...

                                                                                       
             ....5...10...15...20...25...30...35...40...45...50...55...60      
        1   'test1.txt                                                   '     
       61   '                                                            '     
      121   '                                                            '     
      181   '                                                            '     
      241   '               '                                                  
 > EVAL incoming(2)                                                            
   INCOMING(2) =                                                               
             ....5...10...15...20...25...30...35...40...45...50...55...60      
        1   ' test2.txt                                                  '     
       61   '                                                            '     
      121   '                                                            '     
      181   '                                                            '     
      241   '               '                                                  

I don't know how well this will show up... but, I have a directory with 2 entries... and when i debug incoming(1) the test1.txt starts at position 1 of the string, but on incoming (2) the test2.txt starts at the 2nd position of the field incoming(2)= ' test2.txt' 

I used, D Incoming        S            255A   DIM(1000)  for my definition, and
eval      rc = ftp_list(fd: 'inbox/*': 1000:
                %addr(incoming): num_files) 

to populate my list... Also, i re-ran this with 4 files in the directory, and each time, there as another additional space before the filename.

incoming(3)= '  test3.txt'
incoming(4)= '   test4.txt'

Thanks, tim  Also, I'm using the version of the ftpapi, that I was able to download on 7/3/2003

This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential or privileged information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy the message.