Solved

File Transfer/folder Share app with c# without need to map ports?

Posted on 2006-07-03
3
298 Views
Last Modified: 2008-01-09
Hi ...

I wonder if anyone can help?

I have been looking around for an application that allows me to File Transfer (not ftp)/ folder share on windows so i can exchange files between 2 users but without the need for mapping ports.

Of course a mini ftp server allows you to do this but this needs port 21 mapping to the mini ftp server which I would like to find an alternative

Can anyone suggest a different alternative that doesn't require mapping ports, emails are out really as teh files may be 300 mb in size...

Then i would like to be able to implement this with c#, so i suppose i need a specific protocol suggestion and how to acheive it in c#

If anybody has any suggests, i would really love to hear them...

Thanks in advance

Ian
0
Comment
Question by:ianinspain
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
armoghan earned 500 total points
ID: 17035994
Hi ianinspain,
If you mean to transfer file from one machine to a shared network path..

It is easy :)

Simple System.IO.File.Copy will work

if you are using ASP.NET, then you have to impersonate user smoething liek
http://www.velocityreviews.com/forums/t117974-how-copy-file-to-remote-pc-using-default-share.html


Cheers!
0
 

Author Comment

by:ianinspain
ID: 17191997
Thanks,.... but initially i won't have the mapped network drives...

I know i can do \\MachineA\C for example  but how do i provide the username and password etc?

0
 
LVL 18

Expert Comment

by:armoghan
ID: 17192737
See the impersonation example for ASP.NET in second example
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question