Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: ssh2_sftp_unlink - Manual
[go: Go Back, main page]

PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ssh2_sftp" width="11" height="7"/> <ssh2_sftp_symlink
Last updated: Mon, 05 Feb 2007

view this page in

ssh2_sftp_unlink

(PECL)

ssh2_sftp_unlink — ファイルを削除する

説明

bool ssh2_sftp_unlink ( resource sftp, string filename )

リモートファイルシステム上のファイルを削除します。

例 2218. ファイルを削除する

<?php
$connection
= ssh2_connect('shell.example.com', 22);
ssh2_auth_password($connection, 'username', 'password');
$sftp = ssh2_sftp($connection);

ssh2_sftp_unlink($sftp, '/home/username/stale_file');
?>

unlink() も参照ください。



add a note add a note User Contributed Notes
ssh2_sftp_unlink
There are no user contributed notes for this page.

ssh2_sftp" width="11" height="7"/> <ssh2_sftp_symlink
Last updated: Mon, 05 Feb 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites