Changeset 3480
- Timestamp:
- 05/03/08 02:00:42 (7 months ago)
- Files:
-
- branches/lmartin/ftp/tango/net/ftp/FtpClient.d (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/lmartin/ftp/tango/net/ftp/FtpClient.d
r3479 r3480 670 670 /// Returns: the data socket or a listener 671 671 protected SocketConduit getDataSocket() { 672 //make sure no open data connection and if open data connection then kill 673 if(dataSocket_ !is null) 674 this.finishDataCommand(dataSocket_); 675 672 676 // What type are we using? 673 677 switch(this.inf_.type) { … … 1525 1529 this.finishDataCommand(data); 1526 1530 } 1531 1532 public InputStream input(char[] path){ 1533 SocketConduit dataSocket_ = this.processDataCommand("RETR", path); 1534 return dataSocket_; 1535 } 1536 1537 public OutputStream output(char[] path){ 1538 SocketConduit dataSocket_ = this.processDataCommand("STOR", path); 1539 return dataSocket_; 1540 } 1527 1541 1528 1542 }












