Size of a File

gpinedo

New Member
Hi,

How I can obtain the size of a file that is in another equipment? It already tries it to do with GET-SIZE, but single it works for archives that are in he himself equipment. The file this on operating system Windows. By security policy I cannot create a shared folder and be connected to her.

Thanks
 
have you tried

FILE-INFO:FILE-NAME = <file-name>.

example 1:
FILE-INFO:FILE-NAME = "\\sudb2b02\tsa\wstk.jar".
MESSAGE FILE-INFO:FILE-SIZE
VIEW-AS ALERT-BOX INFO BUTTONS OK.

example 2:
FILE-INFO:FILE-NAME = "y:\wstk.jar".
MESSAGE FILE-INFO:FILE-SIZE
VIEW-AS ALERT-BOX INFO BUTTONS OK.
 
Back
Top