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