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

RE: Help: Transfer file error using FTPAPI



> I use the get FTPAPI to transfer files from pc to as400; everything
> goes fine besides for the file record length: I get a file record
> length smaller on the AS400  than the original length on the PC.
> 
> 
> 
> The record length on the PC is 1639 bytes, on the AS400 the GET
> transfers only 1024 bytes.
> 
> 
> 
> What should I do to transfer the whole 1639 bytes record length ???


Are you transferring binary data?  Are you transferring in binary mode?

May we have just a little more detail about the transfer itself, please?

And just to be sure . . . when I read this, it sounded like you were
initiating this from the PC.  That would mean you're not using FTPAPI since
it works as a client, not a server.  So, my question: This is a program on
the AS/400 that uses FTPAPI to pull data from the PC, right?

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"The radical of one century is the conservative of the next.  The radical
invents the views.  When he has worn them out the conservative adopts them."
        -- Mark Twain 



-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------