Estensioni correlate:
Grazie a Nikola Bozovic, possiamo fornirti quasi tutta la struttura dei file del formato JCD. Questo formato di file è salvato con FlashGet versione 1.73 build 128.
Struttura del formato JCD
LEGENDA
UBYTE - byte senza segno (8 bit)
UINT - intero senza segno (32 bit)
ArrayOf(TYPE) - array di elementi di tipo TYPE
OleString - elemento stringa impacchettato di 1 byte (8 bit) come N, e N byte (caratteri) seguenti
enum - bitfield (32 bit)
USHORT - short senza segno (16 bit)
CTime - Data/Ora impacchettata come mfc CTime (1/1/1970)
Struttura del file
|
dimensione byte |
tipo di dati |
nome |
commento |
|---|---|---|---|
|
1 |
UBYTE |
Firma |
0x48 |
|
4 |
UINT |
RecordsCount |
totale record nel db |
|
0+N |
ArrayOf(RCATEGORY o RFILE) |
Records |
array di record |
Struttura RCATEGORY
|
dimensione byte |
tipo di dati |
nome |
commento |
|---|---|---|---|
|
4 |
UINT |
type |
definisce il tipo di record (1, 5) |
|
4 |
UINT |
ID |
identificatore univoco del record |
|
4 |
UINT |
_u01 |
* sconosciuto |
|
4 |
UINT |
_u02 |
* sconosciuto |
|
4 |
UINT |
_u03 |
* sconosciuto |
|
4 |
UINT |
_u04 |
* sconosciuto |
|
4 |
UINT |
_u05 |
* sconosciuto |
|
1+N |
OleString |
Name |
nome categoria |
|
1+N |
OleString |
Path |
percorso della cartella della categoria |
Struttura RFILE
|
dimensione byte |
tipo di dati |
nome |
commento |
|---|---|---|---|
|
4 |
UINT |
type |
definisce il tipo di record (2) |
|
4 |
UINT |
ID |
identificatore univoco del record |
|
4 |
UINT |
_u03 |
* sconosciuto (6) |
|
4 |
UINT |
_u04 |
* sconosciuto (2) |
|
4 |
UINT |
IDDirCurrent |
categorie corrente dei record |
|
4 |
UINT |
_u06 |
* sconosciuto (0) |
|
4 |
UINT |
_u07 |
* sconosciuto (79) |
|
1+N |
OleString |
Url |
url di download del file |
|
4 |
enum |
Flags |
flag bit field [vedi *1] |
|
1+N |
OleString |
ServerUsername |
nome utente di accesso al server |
|
1+N |
OleString |
ServerPassword |
password di accesso al server |
|
4 |
UINT |
IDDirTarget |
categoria di destinazione per il download completo |
|
1+N |
OleString |
Filename |
nome file per il download |
|
4 |
UINT |
NumOfCnn |
numero di connessioni |
|
1+N |
OleString |
Folder |
cartella per il download |
|
1+N |
OleString |
Comment |
commento |
|
4 |
UINT |
_u11 |
* sconosciuto (1 / 65537) |
|
4 |
enum |
State |
1 - in pausa, 2 - avviato, 4 - completato, 8 - errore |
|
4 |
INT |
FileSize |
dimensione file dal server, -1 per dimensione file sconosciuta |
|
1+N |
OleString? |
_s01 |
* sconosciuto (0) forse byte? |
|
4 |
CTime |
FileDate |
data file presa dal server |
|
4 |
CTime |
CreateTime |
ora di creazione del record file |
|
4 |
CTime |
CompleteTime |
data di completamento del file, ultima data e ora di scrittura |
|
1+N |
OleString |
Referer |
referer url |
|
4 |
UINT |
TotalTime |
totale secondi necessari al download |
|
2 |
USHORT |
_us18 |
* sconosciuto (0) |
|
4 |
UINT |
AltUrlCount |
numero di url alternativi |
|
0+N |
ArrayOf(ALTURL) |
AltUrls |
array di url alternativi (può avere dimensione zero) |
|
4 |
UINT |
JetCount |
numero jet di download |
|
0+N |
ArrayOf(JETITEM) |
JetItems |
array di elementi jet (può avere dimensione zero) |
|
4 |
UINT |
_u21 |
* sconosciuto (0) |
Struttura ALTURL
|
dimensione byte |
tipo di dati |
nome |
commento |
|---|---|---|---|
|
1+N |
OleString |
Url |
url altername |
|
4 |
UINT |
_u01 |
* sconosciuto (0) |
Struttura JETITEM
|
dimensione byte |
tipo di dati |
nome |
commento |
|---|---|---|---|
|
4 |
UINT |
start |
l'indirizzo del file del download completato inizia |
|
4 |
UINT |
end |
l'indirizzo del file del download completato finisce |
// Bit field [*1]
[Flags]
public enum JCDFileFlags : uint
{
bit1 = 1, /* incoplete download */
bit2 = 2, /* incoplete download */
LoginToServer = 4,
bit4 = 8,
bit5 = 0x10,
bit6 = 0x20,
bit7 = 0x40,
bit8 = 0x80,
bit9 = 0x100, /* incoplete download */
bit10 = 0x200, /* incoplete download */
bit11 = 0x400,
FtpDownloadSubDirs = 0x800,
CreateSubDirsLocally = 0x1000,
CreateCategory = 0x2000,
bit15 = 0x4000,
bit16 = 0x8000,
bit17 = 0x10000,
bit18 = 0x20000,
bit19 = 0x40000,
bit20 = 0x80000,
bit21 = 0x100000,
bit22 = 0x200000,
bit23 = 0x400000,
bit24 = 0x800000,
bit25 = 0x1000000,
bit26 = 0x2000000,
bit27 = 0x4000000,
bit28 = 0x8000000,
bit29 = 0x10000000,
bit30 = 0x20000000,
bit31 = 0x40000000,
bit32 = 0x80000000
}