finalizing file transfer protocol