add: add some c snippet during implementing ftp