MCPcopy Create free account
hub / github.com/HASwitchPlate/openHASP / iniVariables

Method iniVariables

lib/SimpleFTPServer/FtpServer.cpp:134–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134void FtpServer::iniVariables()
135{
136 // Default for data port
137 dataPort = FTP_DATA_PORT_DFLT;
138
139 // Default Data connection is Active
140 dataConn = FTP_NoConn;
141
142 // Set the root directory
143 strcpy(cwdName, "/");
144
145 rnfrCmd = false;
146 transferStage = FTP_Close;
147}
148
149uint8_t FtpServer::handleFTP()
150{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected