Click here to Skip to main content
15,923,222 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hello All,
I am working on a project to automate the copying of files from a server running Linux (Red Heart) to a Windows system. Can anyone please give me sample project in VB.Net to look at or some articles to read?
Posted
Comments
Sergey Alexandrovich Kryukov 2-Jul-13 11:38am    
Why? Copying is way too simple...
—SA

Rather than copying the files from one OS to the other, set up Samba on the linux machine and just drop the files of interest in the shared directory. The Windows machine(s) can see the files on the share as local files and act accordingly.

Doing it this way means that the linux machine doesn't have to be concerned with network availability or uptime of the Windows machine (the files are local), the Windows machine sees the files natively and no weird development needs to be done. You can control read/write/delete/ownership access on the share using conventional file protection methods.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 2-Jul-13 13:25pm    
Right, a 5.
—SA
Thanks very much. But i am new to Linux and i would be very grateful if you can give me some workarounds. How do i use Samba to create the shared folder and how will my Windows machine see the shared folder? (They are both on a network)
 
Share this answer
 

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