User Profile
Collapse
-
Going Disappointing from here. No resolution yet :( -
Is there anyone on this forum who knows this issue and can provide some technical help?Leave a comment:
-
Still looking into this. Any suggestions or solution will highly be appreciated.
Thanks!Leave a comment:
-
Or is there any command line component is available for this purpose. Any work around to achieve this?Leave a comment:
-
Hi thanks for your reply as im really stuck here.
Actually im trying to upload files on the client site HTTPS enabled. the client certificate is also available and imported in the browser.
Now heres the code snippet that im using to achieve this functionality but its executes successfully and doesn't post any file.
Code:StreamReader srDel = new StreamReader("C:\\test.txt"); string sTestDelete
Leave a comment:
-
Its really strange that i'm googling the web and found many occurrences about this issue but NO RESOLUTION?
Is there anyone who can solve this issue?Leave a comment:
-
Upload/Download a File on HTTPS site in C#
Hi,
I'm searching for this solution from a long time now. i have a https protocol site from a client and i need to upload and download some files from my window service.
Now this site also requires a Client Certificate that i have already imported in my browser and through the browser i can easily access its folders.
Can anyone please tell me how can i make this possible using C# in my window service? I'm looking for... -
Hey im trying to do the same thing. Can you please give some code snippet that shows to create the HTTP Request to include the client certificate?
currently the file cannot be uploaded but get the response that user is logged in. i dont know how the file should be sent using the client certificate on the HTTPS.
Please Comment.
Thanks!Leave a comment:
-
These files are .Vox (Audio files) and the copy is been made in the .Net file systems object. I don't know the mechanism behind this copy.Leave a comment:
-
In my case; i almost get the same information from DB but actually my application performs the Copy/Move of files from one location to another.
Now my concern is if the service is stopped or terminated then some files may be in progress and can be corrupted. I want to secure the files basically that in any case my files wont be affected during the termination or in any scenario.Leave a comment:
-
-
How to Stop a Running Thread
Hi;
I have posted a similar post about a File Copy process that is multi-threaded where each thread is doing their part; i.e. copying then verifying etc.
Now i need some help how to stop my service/application as some threads are already running and some files are in process; so when i just close my application then that can result into some partial copy/move.
I'm looking for a way to stop my application that... -
Interfacing a Window Service
Hi,
I'm working on a window service and i want to give an interface to it. What can be the best approach to get this done.
Can i include a Form, when the user starts the service then gives some parameters only on the start. then the service is started and continue its work.
No need to give values on run-time.
Looking for best approaches..... ............... . -
I got the fix, so posting my self :P
Its been stated in the link i mentioned that User name should be
"Computer Name\User Name"
I tried this like using my own system name and then user name of my system account but got the error;
Then i tried to enter the domain instead of Computer Name;
"DomainName\Use rName"
Thats fixes it perfectly....Leave a comment:
-
Network Access using Windows Service
Hi,
I'm using a window service that includes a file watcher on a network drive. whenever a file is created on a that drive the service copies it to some other network computer.
I know that i need to set the security credentials for a USER Account. But i think im having some problem wile configuring the account.
Example:
when i install the service, it asks the user name and password;
... -
-
Thanks a loooooooooooooo oooooottttttttt tttttttttt
I must say you really have become the source of knowledge for me in this task. This is exceptional support.
I was having some problems with the conversions and its so good that you gave me the converted version. Thanks again :P
Some change i want to mention that i made in my application;
1 - The final product will be the window service. If you can...Leave a comment:
-
I'm Ok with the rest of issues. Actually these files are audio files so the modification is not possible there, one can only listen them. So thats why i was looking for only Created Event.
About the FileWatcher in C#, im having problem to initialize it and handled its event but its not working may be im missing something;
Heres the Code;
Code:class SourceFileWatcher { private
Leave a comment:
-
Thanks again, its really making my way clear.
According to the Answers now i got some issues while testings;
1 - Is this recommended that when my process is copying/Verifying a file, another user tries to open that file. In that case what would be happened?
a - He gets the "File in Use Error"
b - Should we lock the file during this process instead of before staring it?
2 - In your...Leave a comment:
-
Again a lot of thanks for the detailed answer that cleared many issues.
Now i'm ok with the Exclusive Lock.
Kindly explain this scenario, when a file is created, FileWatcher fired the event and my Process Thread adds it to Queue and also locks the Queue; Now meanwhile another file is created and that will also wait for the lock to be released and so on some new files are also there.
Kindly Tell me;
...Leave a comment:
No activity results to display
Show More
Leave a comment: