public void TestAllocateStorage(string host, int port, FtpsSecurityProtocol protocol,
                                 string user, string pwd, string server)
 {
     using (FtpsClient c = new FtpsClient(host, port, protocol))
     {
         c.AlwaysAcceptServerCertificate = true;
         c.Open(user, pwd);
         Assert.IsTrue(c.IsConnected);
         c.AllocateStorage(1024 * 16);
     }
 }
 public void TestAllocateStorage(string host, int port, FtpsSecurityProtocol protocol,
                                 string user, string pwd)
 {
     using (FtpsClient c = new FtpsClient(host, port, protocol))
     {
         c.NetworkProtocol = NETWORK_PROTOCOL;
         c.AlwaysAcceptServerCertificate = true;
         c.Open(user, pwd);
         Assert.IsTrue(c.IsConnected);
         c.AllocateStorage(DEFAULT_FILE_SIZE * 16);
     }
 }