Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a way to get the file size of a specific file?

Status
Not open for further replies.

HiBoo

Programmer
Jan 11, 2000
88
CA
I've got a procedure that I run on a dialy basis that involves importing a data file into my database. The file does not have a file extension. It's just has a name. What I'd like to do is keep a record of the file size as I currently track the time it takes to import the file.

Is there anyway I can get the file size returned into a variable that I can store? I start the import process by entering the file name and location. That is not a problem. I'd just like to know if I can get the file size???

Thanks for any advise!
 
I should have known it was that easy! Thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top