mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2025-12-06 07:42:00 +01:00
28 lines
437 B
C++
28 lines
437 B
C++
#ifndef FTP_PATH_H_
|
|
#define FTP_PATH_H_
|
|
|
|
#include <Arduino.h>
|
|
#include <list>
|
|
|
|
class FTPPath
|
|
{
|
|
public:
|
|
FTPPath();
|
|
explicit FTPPath(String path);
|
|
virtual ~FTPPath();
|
|
|
|
void changePath(String path);
|
|
void goPathUp();
|
|
|
|
String getPath() const;
|
|
String getFilePath(String filename) const;
|
|
|
|
static std::list<String> splitPath(String path);
|
|
static String createPath(std::list<String> path);
|
|
|
|
private:
|
|
std::list<String> _Path;
|
|
};
|
|
|
|
#endif
|