Please enable JavaScript to view this site.

A-Shell Reference

Navigation: Subroutines > FTP2

XFTPF_RENAME

Scroll Prev Top Next More

Added June 2019

Opcode XFTPF_RENAME (&h00800000), in conjunction with XFTPF_SFTP allows you to rename a remote file or directory. Use the same parameter list as for the other opcodes, except:

localpath should specify the old file or directory name

hostfile should specify the new file or directory name

hostdir should be set to ""

On return the status parameter will be set to 1 on success.

History

2019 June, A-Shell 6.5.1662, ASHNET library update 1.13.167:  Opcode added to A-Shell.