Index: trunk/BNC/src/upload/bncuploadcaster.cpp
===================================================================
--- trunk/BNC/src/upload/bncuploadcaster.cpp	(revision 11140)
+++ trunk/BNC/src/upload/bncuploadcaster.cpp	(revision 11153)
@@ -22,4 +22,5 @@
 #include "bncsettings.h"
 #include "bncsslconfig.h"
+#include "bnccredentials.h"
 
 using namespace std;
@@ -46,4 +47,8 @@
   _userName = userName;
   _password = password;
+  if (!_mountpoint.isEmpty() && !_casterOutHost.isEmpty()) {
+    // empty password: from a credentials file, also without user (Ntrip Version 1)
+    bncCredentials::complete(_casterOutHost, _casterOutPort, _userName, _password, true, true);
+  }
   _outSocket = 0;
   _sOpenTrial = 0;
