remram44 / yoppi

An automatic FTP indexer written in Python. Inspired by Yoshi Indexer (written in PHP).
GNU General Public License v3.0
6 stars 2 forks source link

FtpServer name/address #24

Closed remram44 closed 12 years ago

remram44 commented 12 years ago

address was initially meant to be the address or DNS name of a server, while name would be a readable name manually set by a user. If empty, address would be used to provide a readable name, through FtpServer#display_name().

This is not what is done while indexing. Using DNS names can also trigger issues, as the address has to be unique if a server is to be found again during the following indexation.

I propose to only use IP addresses in the address field (in which format?) which might mean changing the field length (type?) and to put something in name (even if it is just the DNS name by default; this means also changing name's length).

remram44 commented 12 years ago

10f0db50fd changes the field sizes. Addresses are still stored as IPv4 in dotted format.

We'll see about IPv6 later.