コード例 #1
0
ファイル: Main.cs プロジェクト: dmarijanovic/uber-tools
        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);
            }
        }