| Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Platinum Customer
Joined: 7/16/2009 Posts: 411
|
I plan to upload a file in SF5 using the RealCodeFileReader and I woiuld like to check the file creation date/time before I upload the file.
I cannot use System.IO.File.GetCreationTime(...) because IO operations are not allowed.
Do you have any suggestion ?
Thank you
|
|

 Administration
Joined: 9/18/2004 Posts: 3,522
|
There is currently no way to read the file date because of the IO restrictions. We want to drop the IO restrictions shortly after the release of version 5.
Ken Gilb (Kuf) Chief Software Engineer - Worden Brothers Inc. Try/Catch - My RealCode Blog
|
|
Platinum Customer
Joined: 7/16/2009 Posts: 411
|
Ok. Thanks
|
|
Registered User Joined: 8/12/2006 Posts: 7
|
QUOTE (Kuf) There is currently no way to read the file date because of the IO restrictions. We want to drop the IO restrictions shortly after the release of version 5.
So when might we be able to output from RealCode to CSV, text files, etc? I would like to dump all kinds of information out to analyze and sort. I can dump some data to the debugger, but it is hard to read, is limited in records, and can't be sorted or analyzed very easily.
Scott
|
|
Registered User Joined: 12/31/2005 Posts: 2,499
|
QUOTE (machangman) QUOTE (Kuf) There is currently no way to read the file date because of the IO restrictions. We want to drop the IO restrictions shortly after the release of version 5.
So when might we be able to output from RealCode to CSV, text files, etc? I would like to dump all kinds of information out to analyze and sort. I can dump some data to the debugger, but it is hard to read, is limited in records, and can't be sorted or analyzed very easily.
Scott
Export currently allows creating csv files.
Multiple values can also be output during export using label as in
label = Ma5.value & "," &MA10.value &"," & Ma20.value & "," ...etc
One would just need to manually adjust the header line after the export.
Asto the origincal question one can currently add a timestamp as the first record and read it before processing the rest of the info, as a workaround until the IO restrictions are lifted.
|
|
|
Guest-1 |