I Want To Find Out File Size

Hi, Does It possible To Find Out File Size In Lotus Script.

i.e. I have C:\a.pdf" File i want to find its size, How many bytes its contains without opening that file & attaching this file to any rich text fields .

Please Guid.

Subject: I Want To Find Out File Size

I don’t think there is a way to find out the file size in lotus script. But you can do it with a windows API.

Subject: I Want To Find Out File Size

You can use function FileLen to get the size of a file.

Dim flen As Long

flen=Filelen(“c:\a.php”)

Msgbox "File size in bytes: "+cstr(flen)

/Andrei

Sametime goes AJAX: Botstation - Sametime Widget Overview

Subject: RE: I Want To Find Out File Size

Thanx It Work.