Viewing post 46 (of 46 total)
You could use OA automation stored procedures with the Scripting.FileSystemObject
EXEC @ProcRC = sp_OACreate
'Scripting.FileSystemObject',
@fso output
-- create File Object
EXEC @ProcRC = sp_OAMethod
@fso,
'GetFile',
@fso_file output,
@FULL_FILE_NAME
-- Get File Size
EXEC @ProcRC = sp_OAGetProperty
@fso_file,
'Size',
@fso_file_size output
January 16, 2007 at 3:37 pm
Viewing post 46 (of 46 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy