; Create a new log file every time the script runs. ; The log will have the date in it like this: ; daily_upload Oct 30 15.38.43 2007.log log "daily_upload" /new ftplogon "myuploadsite" sendfile "*.doc" ; Download a listing from server and name the file like this: ; Sat Feb 17 11.00.22 2001.txt set dir_file = %datetime + ".txt" ftplist dir_file FTPLOGOFF exit