mirror of
https://github.com/kingk85/uFTP.git
synced 2025-04-12 10:48:40 +03:00
80 lines
2.5 KiB
C
Executable File
80 lines
2.5 KiB
C
Executable File
/*
|
|
* The MIT License
|
|
*
|
|
* Copyright 2018 Ugo Cirmignani.
|
|
*
|
|
* 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 THE
|
|
* AUTHORS OR COPYRIGHT HOLDERS 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.
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
USER <SP> <username> <CRLF>
|
|
PASS <SP> <password> <CRLF>
|
|
ACCT <SP> <account-information> <CRLF>
|
|
CWD <SP> <pathname> <CRLF>
|
|
CDUP <CRLF>
|
|
SMNT <SP> <pathname> <CRLF>
|
|
QUIT <CRLF>
|
|
REIN <CRLF>
|
|
PORT <SP> <host-port> <CRLF>
|
|
PASV <CRLF>
|
|
TYPE <SP> <type-code> <CRLF>
|
|
STRU <SP> <structure-code> <CRLF>
|
|
MODE <SP> <mode-code> <CRLF>
|
|
RETR <SP> <pathname> <CRLF>
|
|
STOR <SP> <pathname> <CRLF>
|
|
STOU <CRLF>
|
|
APPE <SP> <pathname> <CRLF>
|
|
ALLO <SP> <decimal-integer>
|
|
[<SP> R <SP> <decimal-integer>] <CRLF>
|
|
REST <SP> <marker> <CRLF>
|
|
RNFR <SP> <pathname> <CRLF>
|
|
RNTO <SP> <pathname> <CRLF>
|
|
ABOR <CRLF>
|
|
DELE <SP> <pathname> <CRLF>
|
|
RMD <SP> <pathname> <CRLF>
|
|
MKD <SP> <pathname> <CRLF>
|
|
PWD <CRLF>
|
|
LIST [<SP> <pathname>] <CRLF>
|
|
NLST [<SP> <pathname>] <CRLF>
|
|
SITE <SP> <string> <CRLF>
|
|
SYST <CRLF>
|
|
STAT [<SP> <pathname>] <CRLF>
|
|
HELP [<SP> <string>] <CRLF>
|
|
NOOP <CRLF>
|
|
*/
|
|
|
|
#ifndef FTPSPECS_H
|
|
#define FTPSPECS_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* FTPSPECS_H */
|
|
|