📄 ftpcodes.h
字号:
/*---------------------------------------------------------------------------
* Copyright (C) 2003-2004 Dallas Semiconductor Corporation, All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL DALLAS SEMICONDUCTOR BE LIABLE FOR ANY CLAIM, DAMAGES
* OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
* Except as contained in this notice, the name of Dallas Semiconductor
* shall not be used except as stated in the Dallas Semiconductor
* Branding Policy.
* --------------------------------------------------------------------------
*/
#ifndef __tini400_ftpcodes_
#define __tini400_ftpcodes_
//ftp server status code
/** Definition for Service ready for new user reply code */
#define FTPSERVER_SERVICE_IS_READY 220
/** Definition for 331 User name okay, need password reply code*/
#define FTPSERVER_NEED_PASSWORD 331
/** Definition for Starting point of positive intermediate reply codes*/
#define FTPSERVER_POSITIVE_INTERMEDIATE_REPLY_START 300
/** Definition for ending point of positive intermediate reply codes*/
#define FTPSERVER_POSITIVE_INTERMEDIATE_REPLY_END 399
/** Definition for Service closing control connection reply code*/
#define FTPSERVER_CLOSE_CTRL_CONNECTION 221
/** Definition for Not logged in reply code*/
#define FTPSERVER_NOT_LOGGED_IN 530
/** Definition for Starting point of positive completion reply codes*/
#define FTPSERVER_POSITIVE_COMPLETION_REPLY_START 200
/** Definition for Command okay reply code*/
#define FTPSERVER_COMMAND_OKAY 200
/** Definition for "PATHNAME" created reply code*/
#define FTPSERVER_PATHNAME_CREATED 257
/** Definition for ending point of positive completion reply codes*/
#define FTPSERVER_POSITIVE_COMPLETION_REPLY_END 299
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -