Changed flags for reading from "r" to "rb", for writing from "w" to "wb"
in the FileReader and FileWriter.
Added FileTransfer::procFLRUpload(...) method.
Now It's possible the upload files and folders.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@423 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfb/FileWriter.cxx b/rfb/FileWriter.cxx
index 6503cc9..9d8c4a5 100644
--- a/rfb/FileWriter.cxx
+++ b/rfb/FileWriter.cxx
@@ -27,7 +27,7 @@
FileWriter::FileWriter()
{
- strcpy(m_szMode, "w");
+ strcpy(m_szMode, "wb");
}
bool