using System;

namespace Network
{
	/// 
	/// Transfer mode for files
	/// 
	public enum TransferMode
	{
		/// 
		/// ASCII transfer mode
		/// 
		Ascii,
		/// 
		/// Binary transfer mode 
		/// 
		Binary
	}
	/// 
	/// Summary description for IFtpClient.
	/// 
	public interface IFtpClient
	{
		string	Username {get;set;}
		string	Password {get;set;}
		string	Host {get;set;}
		int		Port {get;set;}
		void Open();
		void SetCurrentDirectory(string sDirectory);
		void ReceiveFile(string sLocalFilename
				, string sRemoteFilename
				, TransferMode mode);

		void SendFile(string sLocalFilename
				, string sRemoteFilename
				, TransferMode mode);
	}
}