473,322 Members | 1,538 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

could it be possible to write in c# this fuction?

I am executing below curl command to read config file and send it to the servlet which does some logic based on config file and upload the data to the application

Expand|Select|Wrap|Line Numbers
  1.   curl -K mydata.cfg http://10.1.0.1:1000/servlet/Upload
Anyone please help how to run/automate above command from C# console application?
Apr 20 '15 #1
1 1390
Look into
Expand|Select|Wrap|Line Numbers
  1. ProcessStartInfo
and
Expand|Select|Wrap|Line Numbers
  1. Process
. They are used to execute processes from within Windows or Console Applications.
Apr 21 '15 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Chris | last post by:
Could anyone write a small program to log the Signal-to-Noise figures for a Netgear DG834 router? I have been getting very variable SNR readings - and I would like to collect some evidence to...
0
by: Ben | last post by:
All of sudden, compiling my c# program fails with the following error: error CS0016: Could not write to output file '...\myapp.exe' -- 'The process cannot access the file because it is being...
4
by: Mountain Bikn' Guy | last post by:
I am having serious problems with the following IDE bug: Could not write to output file 'x.dll' -- 'The process cannot access the file because it is being used by another process. ' and BUG:...
3
by: Daniel Billingsley | last post by:
Today I went to compile a solution I've been working on for months. I've been off most of the last few months, so there's been a gap in the work, but I did compile it a few times earlier this...
1
by: Vikram | last post by:
I have suddenly started getting this errorin all my ASP.NET applications when I try to open any aspx page. Compiler Error Message: CS0016: Could not write to output file...
1
by: michelevirgilio | last post by:
Hi, some hours ago my .net framework has stopped working, WITHOUT ANY REASON: no new installations, etc. Now every aspx page give me the error: Description: An error occurred during the...
0
by: IKdev | last post by:
Hi all, I have win2003 server and NET 1.1 framework. Created simple ASP .NET app with one page that has button and a label. When trying to run got the CS0016 error (see below). My temp env....
3
by: chaitanya02 | last post by:
Hi All, Could we write a stored Procedure in asp connected to an Access db. I have four table sin Ms Access sql1-account id, account name sql2-account id, email id sql3- account id, contract...
0
by: rangi500 | last post by:
Hello, We've recently started getting errors like this: Last error: ERROR: could not write to hash-join temporary file: No space left on device But there is plenty of space on the all the...
19
by: Gilberto Gil | last post by:
Hello, I'm new here, english is not my native language, but I'm gonna do my best. I need to know in wich zone or byte(s) could I write a few lines (in flash memory) that do not get erase after...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.