Can someone point me to a reference somewhere on the structure
of a *.pkt file? I can find bits and pieces strewn about the
Internet, but I haven't found any definitive source yet.
While I'm on the topic - I'm looking to ditch REX for my
outbound gating and want to parse the pkt files myself for
insertion into my web forums database. I can easily get the
To, From and Subject field out because they're null
terminated, but I can't see any way to get just the message
text by itself out without taking all the msgid's, times, and
everything else that falls between the end of the subject and
the beginning of the actual message. Anyone got any bright
ideas there?
Can someone point me to a reference somewhere on the structure
of a *.pkt file? I can find bits and pieces strewn about the
Internet, but I haven't found any definitive source yet.
Originally to: Jon Watson
Can someone point me to a reference somewhere on the structure
of a *.pkt file? I can find bits and pieces strewn about the
Internet, but I haven't found any definitive source yet.
uh... what's wrong with the FTSC documents? /they/ are the
definitive documents
on FTN stuffs...
<<<====== end quote
Uh..what's wrong with them is that I haven't found them,
wasn't I clear on that? Can you point me to the FTSC
documents? That would be helpful.
those control lines are in there for a reason... some
of those control lines are what i was speaking of in
other conversations with you on this topic...
<<<====== end quote
So you don't have any bright ideas for me?
I'm not going to strip them out of anything leaving my system,
I just don't see the point in storing them in my web forums
database.
I know you don't fully understand what I'm doing so
just take my word for it that anything leaving my system will
be a properly formatted packet.
Quoting Jon Watson from a message to <--
Can someone point me to a reference somewhere on the structure of a
*.pkt file? I can find bits and pieces strewn about the Internet, but
I haven't found any definitive source yet.
do you know the format the .PKT files have?
From FSC-0039.á There may have been a few changes since this doc so you may need to play with it a little.
Quoting Jon Watson from a message to sean dennis <--
Wicked, thanks Sean. I've stumbled (with a little help from Mark)
onto the FTS and FSC docs but I'm having trouble figuring out the
message structure.
Is this the way it's supposed to be? Seems kinda laisse faire (no, I
can't spell that).
Wicked, thanks Sean. I've stumbled (with a little help from
Mark) onto the FTS and FSC docs but I'm having trouble
figuring out the message structure.
I understand that everything before the actualy message body
is null terminated, and I can parse that out without a
problem. What I think is odd, and therefore assume I'm
misunderstanding, is that the message body appears to start
with the AREA: keyword.
What I've seen is that different messages have varying fields
between the AREA: keyword and the beginning of the actual text
of the message. This makes it pretty hard to separate the part
of the message body I want to see, and the part I don't want
to see.
I *think* I've figured out (need a few more packets to
confirm) that the fields that comprise the part I don't want
to see are separated by a ^M^A token, whereas the message body
starts with a single ^M.
Is this the way it's supposed to be? Seems kinda laisse faire
(no, I can't spell that).
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,042 |
Nodes: | 15 (1 / 14) |
Uptime: | 156:41:27 |
Calls: | 500,919 |
Calls today: | 6 |
Files: | 109,372 |
D/L today: |
13,610 files (2,214M bytes) |
Messages: | 305,041 |
Posted today: | 6 |