1 package org.wcb.model.service;
2
3 import java.io.File;
4
5 /**
6 * <small>
7 * Copyright (c) 2006 wbogaardt.
8 * Permission is granted to copy, distribute and/or modify this document
9 * under the terms of the GNU Free Documentation License, Version 1.2
10 * or any later version published by the Free Software Foundation;
11 * with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
12 * Texts. A copy of the license is included in the section entitled "GNU
13 * Free Documentation License".
14 * <p/>
15 * $File: $ <br>
16 * $Change: $ submitted by $Author: wbogaardt $ at $DateTime: Mar 24, 2006 1:19:38 PM $ <br>
17 * </small>
18 *
19 * @author wbogaardt
20 * @version 1
21 * Date: Mar 24, 2006
22 * Time: 1:19:38 PM
23 */
24 public interface IFTPClientService {
25
26 public void setHostAddress(String hostAddress);
27
28 public String getHostAddress();
29
30 public int getHostPort();
31
32 public void setHostPort(int hostPort);
33
34 public String getUserName();
35
36 public void setUserName(String userName);
37
38 public String getPassword();
39
40 public void setPassword(String password);
41
42 public void getFile(String remoteFileName, File localFile);
43
44 public void putFile(File localFile, String remoteFileName, boolean binaryTransfer);
45 }