SAGA API v9.10
Loading...
Searching...
No Matches
metadata.cpp File Reference
#include <wx/xml/xml.h>
#include <wx/wfstream.h>
#include <wx/sstream.h>
#include <wx/mstream.h>
#include <wx/protocol/http.h>
#include "metadata.h"
#include "table.h"
#include <wx/protocol/ftp.h>

Go to the source code of this file.

Macros

#define SERVER_TRIM(s, p)

Functions

bool SG_FTP_Download (const CSG_String &Target_Directory, const CSG_String &Source, const SG_Char *Username, const SG_Char *Password, unsigned short Port, bool bBinary, bool bVerbose)

Macro Definition Documentation

◆ SERVER_TRIM

#define SERVER_TRIM ( s,
p )
Value:
{ wxString sp(p); sp += "://"; if( s.Find(p) == 0 ) { s = s.Right(s.Length() - sp.Length()); } }

Referenced by CSG_HTTP::Create().

Function Documentation

◆ SG_FTP_Download()

bool SG_FTP_Download ( const CSG_String & Target_Directory,
const CSG_String & Source,
const SG_Char * Username,
const SG_Char * Password,
unsigned short Port,
bool bBinary,
bool bVerbose )