|
The data is sent in packets as a stream - there's no relationship between "records" and what goes in a packet. In the event of a dropped connection the remote will very probably receive an incomplete "record". How the remote client or server handles this will vary depending on how they view the data (i.e as a record set or a stream). If the remote is an AS400 writing to a database file in non-binary mode then it will be scanning for record seps and will probably not write out a partial record but this behaviour would be impossible to predict generally. TrailBlazer Systems, Inc. http://www.as400ftp.com AS/400 Communications & E-Commerce Solutions Chaos, panic and disorder...my work here is done. > -----Original Message----- > From: Jodi_Walker@ccmail.columbia.com > [SMTP:Jodi_Walker@ccmail.columbia.com] > Sent: Wednesday, February 28, 2001 12:15 PM > To: MIDRANGE-L@midrange.com > Subject: losing an FTP connection > > A quick question for which my quick search of the archives & IBM > publications turned up no answer. I probably missed it, but I am > > pressed for time. > > If an FTP is started from a 400 and during the transfer, the > connection is lost, will the destination receive part of the data > or > none? > > We have people who believe the entire FTP is buffered and if the > connection is lost, then nothing is sent. We have people who > believe > that the data is buffered into smaller subsets (say, packets, > perhaps) > and sent as each subset is filled, so that if the connection is > lost, > the destination will recieve whatever subsets have been > transmitted > until the time the connection was lost. And we have people who > believe the data is 'streamed' and if the connection is lost, the > > destination receives whatever has been sent to the point so that > even > a single record can arrive incomplete. > > Thanks for any help. > jw > > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. > | To unsubscribe from this list send email to > MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.