SAGA API  v9.5
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)   { wxString sp(p); sp += "://"; if( s.Find(p) == 0 ) { s = s.Right(s.Length() - sp.Length()); } }
 

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,
 
)    { wxString sp(p); sp += "://"; if( s.Find(p) == 0 ) { s = s.Right(s.Length() - sp.Length()); } }

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 
)