Implement FTP backend and other code cleanups.
[cumulus.git] / remote.cc
index 6dd4900..5a20c23 100644 (file)
--- a/remote.cc
+++ b/remote.cc
 
 using std::string;
 
-RemoteStore::RemoteStore(const string &stagedir)
+RemoteStore::RemoteStore(const string &stagedir, const string &script)
 {
     staging_dir = stagedir;
+    backup_script = script;
 
     /* A background thread is created for each RemoteStore to manage the actual
      * transfers to a remote server.  The main program thread can enqueue