C# Simple File Server (For uploading) - c#

I want to write on C# very tiny simple file server for uploading and storing files of size 1-4 MBs. Please give me advice how to make it in shorten time without coding everything by myself. Maybe you could recommend some library or engine for it;)
Thank you very much!!!

http://www.c-sharpcorner.com/UploadFile/saurabhnandu/FileSharingServerinCSharpn.NET12032005003904AM/FileSharingServerinCSharpn.NET.aspx

Related

Using a csv file in Visual Studio C#

I have some data saved in .csv format. Basically I want to access this data within my Visual Studio project (using C#).
I've done some digging around and found things like this:
http://www.codeproject.com/Articles/415732/Reading-and-Writing-CSV-Files-in-Csharp
But it just seems a little too complicated. Is there a **built-in method to read the csv file format within Visual Studio? If not I will start using the method shown there.
Thanks!
EDIT: Sorry perhaps I should be a little clearer. The csv file is huge (35,000 rows), I guess I should be asking how best to handle this data. Should I write it as a table, or read from the file each time I want to access the data?
If it sounds like I'm confusing terminology I'm sorry. I'm not all that familiar with C# and visual studio.
The library I've had good sucess with can be found as a download at CodeProject
http://www.codeproject.com/Articles/9258/A-Fast-CSV-Reader
It provides a great deal of flexibility and has the ability to allow you to deal with malformed CSVs

using c# to open an image using hfs file system

Seems like an odd request. I want to take in an image file probably a .dmg or a .bin, which uses HFS file system. Ideally id like to mount the image because all i need to do is get certain files from it, I don't need everything. They probably will be quite big files. Id be very grateful if I got some advice. Where do I start?
Simplifying answers as much as possible would be great also. Cheers.
Unless you want to port HFSExplorer to C# I would recommend you just use it...

Changing Pitch/Amplitude of a WAVE File C#

What I am trying to do is read the Pitch/Amplitude of one wave file, then increase the pitch of another wave file depending on the Pitch/Amplitude of the first. The second part should be simple enough for me. But what library do I need to use (and what method). It would be great if anyone can help. At the moment I am using the SoundTouch http://code.google.com/p/soundtouchnet/ library to up the pitch.
Any help or tips is appreciated.
Try using DirectSound. This tool allows you to do whatever with wav files. There are plenty of sources to find tutorials too.

How to extract the comments part of a ppt\pptx file to a data base

I'm building an Android app that's reads comments from an MS Power Point file.
As i get it ill have to use some API, or build a program in C#.
The problem is that i can't find a way of doing that.
I would like to hear some suggestions or to hear from programmers that accomplish
that, or something similar.
If you can use the power point api that would be the best way however I don't know if that available on android. This is a link to the binary file specification for ppt files.

Resume in upload file control

I did read the following posts:
Pause/Resume Upload in C#
resume uploads using HTTP?
But didn't got a perfect solution to my problem.
In the above posts, one of the answers says "client and server needs to identify the file some how i suggest the use of a Guid so the server knows what file to append the extra data too." Request you to plz visit the first link of the aobve and find that answer. This answer is all about streaming. Can someone plz provide links using which I can build such kind of code?
In these posts one of the answer said "you can send several small file pieces and rebuild them server side"...HOW?
Can't I use something like checksum etc to detect how much part is uploaded and how much more needs to be and append it to that file? If yes, how?
Streams are a fairly fundemental concept in working with files on the .NET platform (as it is in Java, C and other languages). You should start by reading about them and how to use them. See the Stream class on MSDN.
HOW? By using streaming - you stream parts of the file, in small chunks (using an offset into the file and the size of chunk). Again, see Stream documentation.
You could, but checksums of different files may be the same - with a GUID the chance of a collision is pretty small compared to checksums.

Categories