[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?
One more point: You mean, "file size" rather than "record length," right?
Since FTP is a stream processor, it has no concept of records and record
lengths.
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------