Exporting address book

All about using TurboFTP. Exchange your use experience or post questions/problems here.

Moderator: idler

Exporting address book

Postby Wenderson » Wed May 02, 2007 4:29 am

Hi,

Is there a way to export the TurboFTP address book to a text file or XML format?
Wenderson
 
Posts: 5
Joined: Wed May 02, 2007 4:18 am

Postby admin » Wed May 02, 2007 9:34 am

Hi,

This feature will be added in the next update. Thanks.

Leon
admin
Support Staff
 
Posts: 267
Joined: Mon Jul 11, 2005 1:24 am

Postby Wenderson » Thu May 03, 2007 5:14 am

And do you have any idea when the new update will be released?
Wenderson
 
Posts: 5
Joined: Wed May 02, 2007 4:18 am

Postby admin » Fri May 04, 2007 9:07 am

Hi,

It would be next week.

Leon
admin
Support Staff
 
Posts: 267
Joined: Mon Jul 11, 2005 1:24 am

Address book specs

Postby Wenderson » Thu May 17, 2007 2:21 am

Hi,

I'm finishing implementing an address book reader and there are a few fields that I'm just ignoring, is there a spec to the address book file format that you could provide, so I can read all the fields?

Regards
Wenderson
 
Posts: 5
Joined: Wed May 02, 2007 4:18 am

Postby admin » Thu May 17, 2007 11:27 am

Hi,

Awesome. Which fields you need help of?

Leon
admin
Support Staff
 
Posts: 267
Joined: Mon Jul 11, 2005 1:24 am

Postby Wenderson » Thu May 17, 2007 4:44 pm

Well, I found all the fields that are important right now, but there are a few that would be nice to understand.
I'm using an old version of TurboFTP, but I'm thinking about doing the same to the recent version.
I named 'garbage' the bytes that I don't understand or don't need right now, if you could fill the blanks, that would be nice.

Here is what I found:
    a) It's a binary tagged file, like TIFF
    b) Strings have a byte that represents the size, followed by the data itself
    c) Sizes are represented by 1 byte from 0 to 0xFE, when 0xFF is found, then the size is represented by the next 2 bytes in big endian format.
    d) Here are the structures I identified in the file
    Code: Select all
    FileHeader = {
       'date' : String,
       'garbage1' : Garbage (12),
       'name': String,
       'type' : Byte,
       'garbage2' : Garbage (177)
    }

    ItemHeader = {
       'name' : String,
       'type' : Byte,
       'garbage1' : Garbage(3)
    }

    Folder = {
       ItemHeader,
       'garbage1' : Garbage(1),
       'description' : String,
       'garbage2' : Garbage(36),
       'level' : Byte,
       'garbage3' : Garbage(135)
    }

    Site = {
       ItemHeader,
       'address' : String,
       'description' : String,
       'anonymous' : Bool,
       'garbage1' : Garbage(3),
       'user' : String,
       'pwd' : String,
       'garbage2' : Garbage(4),
       'localDir' : String,
       'remoteDir' : String,
       'garbage3' : Garbage(12),
       'port' : Word,
       'garbage4' : Garbage(7),
       'bypassProxy' : Bool,
       'garbage5' : Garbage(2),
       'level' : Byte,
       'garbage7' : Garbage(15),
       'pasv' : Byte,
       'garbage7' : Garbage(119)
    }

Wenderson
 
Posts: 5
Joined: Wed May 02, 2007 4:18 am

Postby admin » Fri May 18, 2007 5:42 am

Hi,

Unfortunately we do not encourage decipering the format nor will we publish it. The next update of TurboFTP, coming out shortly, will include a command to export the address book's basic contents.

Thanks.
admin
Support Staff
 
Posts: 267
Joined: Mon Jul 11, 2005 1:24 am

Postby Wenderson » Fri May 18, 2007 8:01 pm

Too bad.
But anyway, thanks for your attention, and I think the fields I already have, will be sufficient while I wait for the next version of the TurboFTP software.

Regards.
Wenderson
 
Posts: 5
Joined: Wed May 02, 2007 4:18 am


Return to Using TurboFTP

Who is online

Users browsing this forum: No registered users and 1 guest

cron