mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-28 12:10:59 +00:00
SFTP: didn't define a constant
This commit is contained in:
parent
7b3434c01f
commit
c0fa1ee0b9
@ -97,16 +97,20 @@ define('NET_SFTP_CHANNEL', 2);
|
||||
/**
|
||||
* Reads data from a local file.
|
||||
*/
|
||||
define('NET_SFTP_LOCAL_FILE', 1);
|
||||
define('NET_SFTP_LOCAL_FILE', 1);
|
||||
/**
|
||||
* Reads data from a string.
|
||||
*/
|
||||
// this value isn't really used anymore but i'm keeping it reserved for historical reasons
|
||||
define('NET_SFTP_STRING', 2);
|
||||
define('NET_SFTP_STRING', 2);
|
||||
/**
|
||||
* Resumes an upload
|
||||
*/
|
||||
define('NET_SFTP_RESUME', 4);
|
||||
define('NET_SFTP_RESUME', 4);
|
||||
/**
|
||||
* Append a local file to an already existing remote file
|
||||
*/
|
||||
define('NET_SFTP_RESUME_START', 8);
|
||||
/**#@-*/
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user