Solved

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

Posted on 2006-07-03
3
289 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Suggested Solutions

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

730 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