Routines (alphabetical) > Object Classes > Network Object Classes > IDLnetJPIP::Open

# IDLnetJPIP::Open

Opens an image from a remote JPIP server. When the image is opened the JPEG2000 metadata is sent from the remote server to IDLnetJPIP. The returned metadata is used to fill all the JPEG2000 properties on this object. Set the SERVER_NAME property prior to calling this method.

Call IDLnetJPIP::Open prior to calling IDLnetJPIP::GetData. When you call Open, the previous image is closed on the remote server and the new image is opened.

This method will throw an error if there is a failure. A CATCH statement can be used to trap errors.

## Syntax

Obj ->[IDLnetJPIP::]Open, Filename

## Return Value

None.

## Arguments

### Filename

A string specifying the name of the JPEG2000 file to open. Do not include path information in the filename if the remote server is a Standard JPIP Server.

## Keywords

None.

## Version History

8.3 | Introduced