Module | Net::SFTP::Constants::OpenFlags::FV5 |
In: |
lib/net/sftp/constants.rb
|
Version 5 of the open operation totally discarded the flags understood by versions 1-4, and replaced them with these.
CREATE_NEW | = | 0x00000000 |
CREATE_TRUNCATE | = | 0x00000001 |
OPEN_EXISTING | = | 0x00000002 |
OPEN_OR_CREATE | = | 0x00000003 |
TRUNCATE_EXISTING | = | 0x00000004 |
APPEND_DATA | = | 0x00000008 |
APPEND_DATA_ATOMIC | = | 0x00000010 |
TEXT_MODE | = | 0x00000020 |
READ_LOCK | = | 0x00000040 |
WRITE_LOCK | = | 0x00000080 |
DELETE_LOCK | = | 0x00000100 |