Connecting Tech Pros Worldwide Forums | Help | Site Map

remote file operations

AnuSumesh's Avatar
Member
 
Join Date: Aug 2007
Posts: 96
#1: Oct 22 '08
Hi All,

Our company is providing remote access to employees to all the shared files/folders that exists on all the servers in the same network. For this purpose dll file is used.
e.g I can access all shared files/folders of my company network from my house and i need to rename/delete/copy some of these.

Now I have to implement all those methods using C# in .net environment.
Methods are:
1. renaming file
2. deleting file/folder
3. copying the file etc.
and these files/folders are on my company network and i am accessing these from my home pc.

And it should support Double Byte Characters also so that files/folder names in japaneese/chineese should be displayed properly.

How can i perform these functions using c# with/without using FTP?
Its urgent. plzzzz help me.

Regards,
Anu

insertAlias's Avatar
Forum Leader
 
Join Date: Apr 2008
Location: San Antonio, TX (USA)
Posts: 2,608
#2: Oct 22 '08

re: remote file operations


Well, we're not going to write the program for you.

You need to get more specific. How are these folders going to be exposed? Are you going to connect to the network with VPN? FTP?

Each method would be very different. VPN would be preferable, because then you can treat them like local folders and use the FileInfo and DirectoryInfo objects in System.IO to do the work.
AnuSumesh's Avatar
Member
 
Join Date: Aug 2007
Posts: 96
#3: Oct 23 '08

re: remote file operations


We are using VPN connection

Thanks 'n' Regards,
Anu
insertAlias's Avatar
Forum Leader
 
Join Date: Apr 2008
Location: San Antonio, TX (USA)
Posts: 2,608
#4: Oct 23 '08

re: remote file operations


Well, look up System.IO.FileInfo and System.IO.DirectoryInfo.

These should provide you with the tools you need.
AnuSumesh's Avatar
Member
 
Join Date: Aug 2007
Posts: 96
#5: Oct 27 '08

re: remote file operations


Hi

Thanks a lot for your help.
I need one more help.

"As i explained earlier that we are displaying files/folders on client browser", our requirement is to support Double Byte Characters .
So that in case client is using japaneese or chinese language then files/fiolder names should be displayed in that language only.

How can we code to support Double Byte characters in C# and also plz tell me how can i test my coding for the same?

Regards,
Anu
Reply