Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
HI,

I am trying to create a windows application with which i can transfer the whole directory from a perticular path to another system over the lan. Suppose in System1 i have a folder in D:\ABC containing few subfolders and file, i want to transfer this directory to System2 in the same place D:\ABC. Plz tell me which technique should i use to mak this possible.

Thanks and Regards..
Posted

1 solution

It won't be possible that way. However if you have a shared folder with write permission on the 2nd system then inside that folder you can create sub-folder very much same way as you do in local system. You will need to provide the shared path that is in the format:
\\{IPOf2ndSystem}\{SharedFolderName}\{FolderToCreate}
 
Share this answer
 
Comments
rammohan004 28-Mar-13 2:52am    
Hi Rajesh,
Thanks for the Reply.
This can happen only if my NetBios in the remote is Enable.But What if NetBios is disabled in the remote system.?
RajeshRaushan 28-Mar-13 10:49am    
Hey Ram, your point is correct. i am forwarding a link here - hope it is useful for you.

http://blogs.technet.com/b/heyscriptingguy/archive/2004/09/01/how-can-i-create-a-folder-on-a-remote-computer.aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900