~ubuntu-branches/ubuntu/trusty/nordugrid-arc/trusty

« back to all changes in this revision

Viewing changes to src/hed/acc/ARC0/FTPControl.h

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2013-11-29 13:39:10 UTC
  • mfrom: (3.1.16 sid)
  • Revision ID: package-import@ubuntu.com-20131129133910-sy6ayoavphc5hozs
Tags: 4.0.0-1
4.0.0 Release (Closes: #715131) (LP: #1049798)

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
#include <globus_ftp_control.h>
8
8
 
9
9
#include <arc/URL.h>
 
10
#include <arc/UserConfig.h>
10
11
 
11
12
namespace Arc {
12
13
 
18
19
    FTPControl();
19
20
    ~FTPControl();
20
21
 
21
 
    bool Connect(const URL& url, const std::string& proxyPath,
22
 
                 const std::string& certificatePath,
23
 
                 const std::string& keyPath, int timeout);
 
22
    bool Connect(const URL& url, const UserConfig& uc);
24
23
    bool SendCommand(const std::string& cmd, int timeout);
25
24
    bool SendCommand(const std::string& cmd, std::string& response,
26
25
                     int timeout);
35
34
    globus_ftp_control_handle_t control_handle;
36
35
    CBArg* cb;
37
36
    bool connected;
 
37
    bool SetupPASV(int timeout);
38
38
  };
39
39
 
40
40
} // namespace Arc