---
name: "rload"
section: "2"
platform: "linux"
package: "lam2-dev"
version: "6.3.2-3"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/rload/2"
---

# rload(2)

Load a file onto a LAM remote node.

## NAME

rload - Load a file onto a LAM remote node.

## SYNOPSIS

int rload(int src\_node, int dest\_node, int tag, char \*filename);

## ARGUMENTS

- src\_node

  source node for file

- dest\_node

  where file will be temporarily stored

- tag

  an arbitrary integer that will refer to file on the destination node

- filename

  full or partial pathname of file

## DESCRIPTION

The transfer is done by the load daemon on the source node using the flat daemon on the destination node. See [rflat(2)](/rflat/2.md).

After returning from *rload()* the tag can be converted to a local address on the destination node using [rget(2)](/rget/2.md).

## ERRORS

- ENOFLDESCRIPTORS

  The table of storage blocks (kept by the flat daemon) is full.

## SEE ALSO

[rflat(2)](/rflat/2.md), [rpgo(2)](/rpgo/2.md)
