// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-/**
- Transfer modes used by wxFTP.
-*/
-enum TransferMode
-{
- NONE, //!< not set by user explicitly.
- ASCII,
- BINARY
-};
-
/**
@class wxFTP
wxLogError("Couldn't get the file size for \"%s\"", filename);
}
- wxInputStream *i = ftp.GetInputStream(filename);
+ wxInputStream *in = ftp.GetInputStream(filename);
if ( !in )
{
wxLogError("Couldn't get the file");
class wxFTP : public wxProtocol
{
public:
+ /**
+ Transfer modes used by wxFTP.
+ */
+ enum TransferMode
+ {
+ NONE, //!< not set by user explicitly.
+ ASCII,
+ BINARY
+ };
+
/**
Default constructor.
*/