[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 936
  • Last Modified:

send file in LAN network using C#

Hi, I have a question:
I'm programming in C# windows application
How can I send file, folder between clients and server in LAN  and check the user's permission. Don't use Socket.
If you have some documents or sources about this, please share with me.
Thank you very much.

0
tunhien
Asked:
tunhien
  • 4
  • 3
1 Solution
 
2266180Commented:
you will have to give some more information on this. why not use sockets? all protocols use sockets. maybe you have a specific protocol in mind?
0
 
devsolnsCommented:
Why not use sockets is because is in a LAN domain.  Sending documents to clients may be a matter of moving from one folder in the domain to another.  I think you need to clarify tunhien.
0
 
2266180Commented:
move files within shares? that is as easy as doing a simple copy using absolute path. windows will take care of the rest. of course the user will need write access to destination share/folder
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
neilpriceCommented:
There is an article here on file transfers over networks;

http://www.geekpedia.com/tutorial183_File-transfers-through-networks-and-the-Internet.html

Hope this helps,
Neil
0
 
devsolnsCommented:
ciuly, i think even the worst of programmers know this.  it was a comment that we should not make assumptions because his solution may be just that trivial so it wouldnt make sense to question why he is not using sockets.
0
 
2266180Commented:
there is probably a missunderstanding between us :D you were saying something about domains, but share's exist in workgroups as well (just to be specific) or some other cases (dunno if linux boxes can be made part of a windows domain/workgroup, but they definietly can have shares). so that is why I <u>emphasized</u> the share thing. maybe the question was not the right way to do it :) even if my post came as a result of your's, I meant it to be for the asker, as I believe it was a little different then your idea.
no offense intended :)
0
 
2266180Commented:
hm.. I should probably get use to "name calling". so the above post was intended for devsolns :)
0
 
devsolnsCommented:
ciuly, its cool boss.  what say you tunhien, are you going to give us more to go on?
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now