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

RE: Not coming in record by record (was: Changing Local Directory)




owner-ftpapi@xxxxxxxxxxxxx wrote on 02/09/2005 02:40:12 PM:

> Sender: "Calabro, Buck" <Buck.Calabro@xxxxxxxxxxxx>
>
> 5: > SIZE /QSYS.LIB/EDFTPTEST.LIB/ TESTFILE.FILE/TESTFILE.MB
>
> Take a look at the file name.  It has an embedded blank and possibly
> a missing R at the end of .MBR.  Is that the problem, or is it an
> artefact of copy/paste?
>   --buck
>
>
> The information contained in this electronic mail transmission is
> intended by Communications Software Consultants, Inc. for the use of
> the named individual or entity to which it is directed
> and may contain information that is privileged or otherwise
> confidential. If you have received this electronic mail transmission
> in error, please notify the sender immediately and delete this
> message from your system without copying or forwarding it.
>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubsribe from the list send mail
> to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
> -----------------------------------------------------------------------

Oops.  You are correct, when I changed the path and file names, I threw an extra blank in there by accident.  The trailing R on MBR was just a victim of copy/paste.

I corrected it and unfortunately, still only the first line of the file data is brought over.  I also changed the name of the destination file to TESTFILE2 with member TESTFILE2, just in case there was an shenanigans with having the source and destination files and members with the same name, but still no luck.  Here is the recent log of the FTP:

0: FTPAPI version 2.0beta3 released on 2004-06-24                      
5: 220-QTCP at LOCALHOST.                                              
5: 220 Connection will close if idle more than 5 minutes.              
5: > USER beckenrod                                                    
5: 331 Enter password.                                                  
5: > PASS **********                                                    
5: 230 BECKENROD logged on.                                            
5: > TYPE I  
5: 200 Representation type is binary IMAGE.                              
5: > SIZE /QSYS.LIB/EDFTPTEST.LIB/TESTFILE.FILE/TESTFILE.MBR            
5: 500 Subcommand SIZE not valid.                                        
5: > TYPE I                                                              
5: 200 Representation type is binary IMAGE.                              
5: > PORT 127,0,0,1,243,78                                              
5: 200 PORT subcommand request successful.                              
5: > RETR /QSYS.LIB/EDFTPTEST.LIB/TESTFILE.FILE/TESTFILE.MBR            
5: 150-NAMEFMT set to 1.                                                
5: 150 Retrieving member TESTFILE in file TESTFILE in library EDFTPTEST.
5: 250 File transfer completed successfully.                            
5: > QUIT                                                                
5: 221 QUIT subcommand received.

Data in the 2 files is as shown.

                         Display Physical File Member                        
File . . . . . . :   TESTFILE            Library  . . . . :   EDFTPTEST      
Member . . . . . :   TESTFILE            Record . . . . . :   1              
Control  . . . . .                       Column . . . . . :   1              
Find . . . . . . .                                                            
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
line1                                                                        
line2                                                                        
line3                                                                        
line4                                                                        
line5                                                                        
line6                                                                        
line7                                                                        
line8                                                                        
line9                                                                        
                          ****** END OF DATA ******                          

                         Display Physical File Member                        
File . . . . . . :   TESTFILE2           Library  . . . . :   BECKENROD      
Member . . . . . :   TESTFILE2           Record . . . . . :   1              
Control  . . . . .                       Column . . . . . :   1              
Find . . . . . . .                                                            
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
line1                                                                        
                          ****** END OF DATA ******                          


I am really scratching my head now...

Thanks again for your help Buck.

Regards,
Brian