FTP
EPSV
RETR
--remote-time
# Server-side
file data
213 20090213233130
# Client-side
ftp
FTP with --remote-time
ftp://%HOSTIP:%FTPPORT/1444 --remote-time
# Verify the mtime of the file. The mtime is specifically chosen to be an even
# number so that it can be represented exactly on a FAT filesystem.
perl -e 'exit((stat("log/curl1444.out"))[9] != 1234567890)'
# Verify data after the test has been "shot"
USER anonymous
PASS ftp@example.com
PWD
MDTM 1444
EPSV
TYPE I
SIZE 1444
RETR 1444
QUIT