I solve this by using following statement:
get *.csv>1D U:\%TIMESTAMP-1D#yyyy-mm-dd%.csv
I´m having a problem trying to download the latest file and rename it with timestamp.
I tried to find/ understand a solution in the documentation but failing.
Hope someone of you can help me with a explanation/ example.
# Change remote directory
# Force binary mode transfer
option transfer binary
# Download file to the local directory
get *.csv>1D D:\*.csv>1D.%TIMESTAMP-1D#yyyy-mm-dd%