Introduction

Language Structure

IB Statements

File System

Comet 32 Runtime

Index

(Verify File)

Mnemonic: (Verify File=source-file,destination-file,flags)
Discussion: This mnemonic verifies that the destination-file is present at the target machine and that it is up to date with the source-file on the host machine. If the remote file is out of date, the source-file is automatically transferred to the remote machine replacing the destination-file.

A 32-bit value is returned via (GetFuncResult). The lower 16 bits is the error code from the host machine and the upper 16 bits is the error code from the remote machine. If both are 0 then the function completed successfully.

Flags is a numeric value representing the sum of the numeric values listed in the following chart:

Flag Reference name Description
1 VF.MODIFY Check modify date
2 VF.SIZE Check filesize
4 VF.SAMEFILE Modify time and size must match
8 VF.FORCESEND Always send file
16 VF.CREATEALIAS Create alias if required
32 VF.CHECKONLY Don't send file
64 VF.SHOWSTATUS Show progress bar while file is being transferred