Developer API
...
File Operations
Function: move()
5 min
docid\ wxgxpnpidcz6 2b6gh786 docid\ l2rwyc57gjg6s93mcecr9 / move move ( fsid , srcpath , destpath , name , wallet ) promise < transaction > defined in https //github com/xandeum/xandeum web3 js/blob/master/src/move ts#l19 constructs a solana transaction to copy a file or directory from one path to another parameters fsid string the unique numeric identifier representing the target file system srcpath string the source path to copy from (e g , /documents ) destpath string the destination path to copy to (e g , /archive ) name string the name of the new file or directory at the destination (e g , report txt ) wallet publickey the wallet public key used to sign and authorize the transaction returns promise < transaction > a promise that resolves to a solana transaction object containing the copypath instruction throws will throw an error if srcpath or destpath contains invalid characters