SFTP Rename.vi

'SFTP Rename.vi' connector pane

SFTP Rename.vi connector pane

Description

Rename a file or directory on the remote filesystem.

Inputs

cu64 LabSSH Session

Required

Yes

SSH session refnum.

cstr Remote Source

Required

Yes

Path to remote file to be renamed. May be a relative or absolute path.

Examples
/home/user/file.txt
./file.txt
/tmp/docs/

cstr Remote Dest

Required

Yes

New file or directory name. The file specified by Remote Source will be renamed to this.

Examples
/home/user/new-file.txt
./new-file.txt
/tmp/new-docs/

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.

ierrcodeclst error out

Error (if any) resulting from this VI call.