Potresti anche usare FTP client/server (Indy ha componenti anche per quello) così non devi inventarti nessun protocollo.