I have a daily process which copies files to our FTP server. From there, the files should be FTP'd to another server.
Typically, I'll use syntax like the following:
ncftpput -f c:\scripts\loginCredentials.txt RemoteFolder \ "c:\transfer\out\fileToBeCopied.txt"
That's fine if the file name does not change. In this case, I'd like to either rename the file to include a date time stamp OR copy a file which has this already in it's name.
In this case, I can't seem to get the ncftpput to work with a wild card - i.e., the file variable name.
Thanks in advance for the help.