Class Net_SFTP
Pure-PHP implementations of SFTP.
- Net_SSH2
-
Net_SFTP
Copyright: MMIX Jim Wigginton
License: MIT License
Author: Jim Wigginton <terrafrost@php.net>
Version: 0.1.0
Located at vendors/phpseclib/Net/SFTP.php
Methods summary
public
|
|
public
Boolean
|
|
public
Mixed
|
|
public
Mixed
|
|
public
Boolean
|
|
public
Mixed
|
|
public
Mixed
|
|
public
Mixed
|
#
_list( optional $dir, mixed $raw = true, mixed $realpath = true )
Reads a list, be it detailed or not, of files in the given directory |
public
Mixed
|
|
public
|
|
public
|
|
public
|
|
public
Mixed
|
|
public
Mixed
|
|
public
Mixed
|
#
_stat( String $filename, Integer $type )
Returns general information about a file or symbolic link |
public
Integer
|
|
public
Mixed
|
|
public
Mixed
|
|
public
Boolean
|
#
_chmod_recursive( Integer $mode, String $path, mixed & $i )
Recursively chmods directories on the SFTP server |
public
Boolean
|
|
public
Boolean
|
|
public
Boolean
|
#
put( String $remote_file, String $data, optional $mode = NET_SFTP_STRING )
Uploads a file to the SFTP server. |
public
Boolean
|
|
public
Mixed
|
|
public
Boolean
|
|
public
Boolean
|
#
_delete_recursive( String $path, Integer & $i )
Recursively deletes directories on the SFTP server |
public
Boolean
|
|
public
Array
|
|
public
Mixed
|
|
public
Boolean
|
|
public
String
|
|
public
String
|
|
public
String
|
|
public
String
|
|
public
Array
|
|
public
Boolean
|
Methods inherited from Net_SSH2
Net_SSH2()
,
__destruct()
,
_append_log()
,
_close_channel()
,
_define_array()
,
_filter()
,
_format_log()
,
_get_binary_packet()
,
_get_channel_packet()
,
_initShell()
,
_key_exchange()
,
_keyboard_interactive_login()
,
_keyboard_interactive_process()
,
_privatekey_login()
,
_send_binary_packet()
,
_send_channel_packet()
,
_string_shift()
,
disconnect()
,
exec()
,
getCompressionAlgorithmsClient2Server()
,
getCompressionAlgorithmsServer2Client()
,
getEncryptionAlgorithmsClient2Server()
,
getEncryptionAlgorithmsServer2Client()
,
getErrors()
,
getKexAlgorithms()
,
getLanguagesClient2Server()
,
getLanguagesServer2Client()
,
getLastError()
,
getLog()
,
getMACAlgorithmsClient2Server()
,
getMACAlgorithmsServer2Client()
,
getServerHostKeyAlgorithms()
,
getServerIdentification()
,
getServerPublicHostKey()
,
read()
,
setTimeout()
,
write()
Magic methods summary
Properties summary
public
Array
|
$packet_types |
#
Packet Types |
public
Array
|
$status_codes |
#
Status Codes |
public
Integer
|
$request_id |
#
The Request ID |
public
Integer
|
$packet_type |
#
The Packet Type |
public
String
|
$packet_buffer |
#
Packet Buffer |
public
Array
|
$extensions |
#
Extensions supported by the server |
public
Integer
|
$version |
#
Server SFTP version |
public
String
|
$pwd |
#
Current working directory |
public
Array
|
$packet_type_log |
#
Packet Type Log |
public
Array
|
$packet_log |
#
Packet Log |
public
String
|
$sftp_errors |
#
Error information |
public
Integer
|
$fileType |
#
File Type |
public
Array
|
$dirs |
#
Directory Cache |
Properties inherited from Net_SSH2
$bitmap
,
$channel_buffers
,
$channel_extended_data_type_codes
,
$channel_open_failure_reasons
,
$channel_status
,
$compression_algorithms_client_to_server
,
$compression_algorithms_server_to_client
,
$curTimeout
,
$decrypt
,
$decrypt_block_size
,
$disconnect_reasons
,
$encrypt
,
$encrypt_block_size
,
$encryption_algorithms_client_to_server
,
$encryption_algorithms_server_to_client
,
$errors
,
$exchange_hash
,
$fsock
,
$get_seq_no
,
$hmac_check
,
$hmac_create
,
$hmac_size
,
$identifier
,
$interactiveBuffer
,
$kex_algorithms
,
$languages_client_to_server
,
$languages_server_to_client
,
$log_size
,
$mac_algorithms_client_to_server
,
$mac_algorithms_server_to_client
,
$message_log
,
$message_number_log
,
$message_numbers
,
$packet_size_client_to_server
,
$realtime_log_file
,
$realtime_log_size
,
$realtime_log_wrap
,
$send_seq_no
,
$server_channels
,
$server_host_key_algorithms
,
$server_identifier
,
$server_public_host_key
,
$session_id
,
$signature
,
$signature_format
,
$signature_validated
,
$terminal_modes
,
$timeout
,
$window_size
,
$window_size_client_to_server