Esempio n. 1
0
        private void UploadProject()
        {
            //MessageBox.Show(e.Node.Text);

            System.Collections.Specialized.NameValueCollection nvc = new System.Collections.Specialized.NameValueCollection();

            WebCalls webCalls = WebCalls.Create();

            try
            {
                webCalls.UploadFiles("http://update.local/upload.php", new string[] { "c:\\test.rar" }, nvc);
            }
            catch (Exception ex)
            {
                Log.Write(ex, this, "tvProductList_NodeMouseDoubleClick", Log.LogType.ERROR);
            }
        }