$ touch file_to_be_sent.end $ ftp your.server.com ... > put file_to_be_sent.dat > put file_to_be_sent.end > bye