DeleteFile Method

Remove a file specified by FileName from an SFTP server.

Object Oriented Interface

public function doDeleteFile($filename);

Procedural Interface

ipworkssftp_sftp_do_deletefile($res, $filename);


The remote file or directory specified by FileName is deleted. FileName is either an absolute path on the server, or a path relative to RemotePath.

If there is no SSH session in place, one is automatically created by the component first.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks SFTP 2020 PHP Edition - Version 20.0 [Build 7941]