0
|
1
|
|
2 package com.trilead.ssh2.sftp;
|
|
3
|
|
4 /**
|
|
5 *
|
|
6 * SFTP Paket Types
|
|
7 *
|
|
8 * @author Christian Plattner, plattner@trilead.com
|
|
9 * @version $Id: Packet.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $
|
|
10 *
|
|
11 */
|
|
12 public class Packet {
|
|
13 public static final int SSH_FXP_INIT = 1;
|
|
14 public static final int SSH_FXP_VERSION = 2;
|
|
15 public static final int SSH_FXP_OPEN = 3;
|
|
16 public static final int SSH_FXP_CLOSE = 4;
|
|
17 public static final int SSH_FXP_READ = 5;
|
|
18 public static final int SSH_FXP_WRITE = 6;
|
|
19 public static final int SSH_FXP_LSTAT = 7;
|
|
20 public static final int SSH_FXP_FSTAT = 8;
|
|
21 public static final int SSH_FXP_SETSTAT = 9;
|
|
22 public static final int SSH_FXP_FSETSTAT = 10;
|
|
23 public static final int SSH_FXP_OPENDIR = 11;
|
|
24 public static final int SSH_FXP_READDIR = 12;
|
|
25 public static final int SSH_FXP_REMOVE = 13;
|
|
26 public static final int SSH_FXP_MKDIR = 14;
|
|
27 public static final int SSH_FXP_RMDIR = 15;
|
|
28 public static final int SSH_FXP_REALPATH = 16;
|
|
29 public static final int SSH_FXP_STAT = 17;
|
|
30 public static final int SSH_FXP_RENAME = 18;
|
|
31 public static final int SSH_FXP_READLINK = 19;
|
|
32 public static final int SSH_FXP_SYMLINK = 20;
|
|
33
|
|
34 public static final int SSH_FXP_STATUS = 101;
|
|
35 public static final int SSH_FXP_HANDLE = 102;
|
|
36 public static final int SSH_FXP_DATA = 103;
|
|
37 public static final int SSH_FXP_NAME = 104;
|
|
38 public static final int SSH_FXP_ATTRS = 105;
|
|
39
|
|
40 public static final int SSH_FXP_EXTENDED = 200;
|
|
41 public static final int SSH_FXP_EXTENDED_REPLY = 201;
|
|
42 }
|