I haven't had the need to do this with BWS yet, but when I'm not using BWS I tend to:
Dim Today As String
Today = Format(Date, "yyyymmdd")
.FTPReceiveFile "c:\Reports", "RPT" & Today & ".txt", rcBinary, rcAskUser
Or something along those lines. Basically saving the reports out as RPT20060124.txt.
~Peter
Greetings,
Hope this message finds all doing well. A quick question for the group…
We're working on a new <Top Secret> J product feature and need some feedback regarding file naming conventions.
I know many of you have scripts that cause a system to run and then download some sort of report. Typically part of the script is to name the report file. Some scripts I've seen use a static name, others the name is generated by the script and is therefore different each time the script runs.
For those of you generating file names "on the fly" in your script – what sort of naming conventions are you using – or would like to use?
Using the system date somehow? Using something else?
And what file formats / extensions are you using?
Any feedback you can provide will be greatly appreciated!
Regards,
Thom
Thom C. Blackwell
Product Manager
Boston Software Systems
Visit us at HIMSS Booth 1850
866 653-5105 - ex 807
