Ethereal-dev: [Ethereal-dev] distinguishing multiple files in email and FTP.

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Srivathsan_Srinivasagopalan" <Srivathsan_Srinivasagopalan@xxxxxxxxxx>
Date: Wed, 3 Aug 2005 10:56:54 +0530

Hi,

    I would like to know how SMTP (or any email application like Outlook) and FTP provides information about clearly distinguishing between different files which are attached and emailed at once (or FTP’ed at once using mget *).

 

I am monitoring the incoming packets and doing deep-packet processing by reading the headers upto application layer. Suppose I attach 10 files (word, pdf, xls, txt etc) to an email, I would like to know when the first file is completely received, when the second file is completely received and so on. What kind of control messages or fields in the protocol should I be watching to know the end of a **SINGLE** file transfer?

 

NOTE: I am just watching the traffic. I am neither the client nor the server. I would be watching **ALL** the traffic (control and data) between the client and server.

 

I think SMTP really doesn't care about the files being attached. It takes all of them in binary format and sees them as a payload. But, there must be a way to clearly distinguish the end of each files being attached. I think such facility is provided by the individual email-clients.

 

Please let me know the answer for the same if I use FTP.

 

Any help is appreciated.

 

Thanks,

Sri.

DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated..