SCP Send.vi

'SCP Send.vi' connector pane

SCP Send.vi connector pane

Description

Send a single block of file data to an open SCP upload channel.

SCP upload channel must have been initialized already by calling SCP Init Send.vi.

Note

This is a low-level VI whose usage is not typical. For quick 1-step downloads, use SCP EZ Send.vi.

It is not necessary to call this VI when using the “EZ” VIs.

Inputs

cu64 LabSSH Session

Required

Yes

SSH session refnum.

c1du8 Data

Required

Yes

Array of file byte data to be uploaded to the server.

cerrcodeclst error in

Required

No

Default

No Error

Incoming error from previous VI call. Is passed through to error out.

Warning

LabVIEW will not execute Call Library Function Node if there is an error present on the wire. Ensure that there is no error prior to calling this VI – unexpected behavior will occur.

ci32 Timeout msec

Required

No

Default

5000

Amount of time in milliseconds to wait for a response from remote host before a timeout error occurs.

Outputs

iu64 LabSSH Session Out

Duplicate SSH session refnum.

iu32 Byte Count

Number of bytes transferred.

ierrcodeclst error out

Error (if any) resulting from this VI call.