KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > coldcore > coloradoftp > connection > DataConnectionMode


1 package com.coldcore.coloradoftp.connection;
2
3 /**
4  * Data connection transfer mode.
5  * Explains a reason what's for users request data transfers.
6  *
7  *
8  * ColoradoFTP - The Open Source FTP Server (http://cftp.coldcore.com)
9  */

10 public enum DataConnectionMode {
11   STOR, //Read data from the user and save it into file
12
STOU, //Same as STOR, only send "250" reply at the end of the transfer
13
RETR, //Read data from file and send it to user
14
LIST //Send directory content to user
15
}
16
Popular Tags