40 virtual void preStatus(
long totalBytes,
long completedBytes,
const char *message);
45 SWDEPRECATED virtual void statusUpdate(
double dtTotal,
double dlNow);
49 virtual void update(
unsigned long totalBytes,
unsigned long completedBytes);
78 virtual char getURL(
const char *destPath,
const char *sourceURL,
SWBuf *destBuf = 0);
86 virtual char putURL(
const char *destURL,
const char *sourcePath,
SWBuf *sourceBuf = 0);
89 int copyDirectory(
const char *urlPrefix,
const char *dir,
const char *dest,
const char *suffix);
91 virtual std::vector<struct DirEntry> getDirList(
const char *dirURL);
92 void setPassive(
bool passive) { this->passive = passive; }
96 void setUser(
const char *user) { u = user; }
#define SWORD_NAMESPACE_START
void setUnverifiedPeerAllowed(bool val)
void setTimeoutMillis(long timeoutMillis)
StatusReporter * statusReporter
void setPassive(bool passive)
virtual ~StatusReporter()
void setUser(const char *user)
bool isUnverifiedPeerAllowed()
void setPasswd(const char *passwd)
bool unverifiedPeerAllowed
#define SWORD_NAMESPACE_END
StatusReporter * statusReporter