Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 01-09-2007, 11:38 PM   #1 (permalink)
 
Newb Techie

Join Date: Oct 2006

Posts: 26

yobrojas

Default Virtual Drive

Hi,

I am wanting to program a virtual drive that can be seen as a physical drive (like the C: and D. When files are copied to it etc the files are then sent via ftp to a ftp server. Can anyone suggest what the best language is for programming this application? Also does anyone know any good websites that have guides/tutorials on how this can be done?

Thanks
yobrojas is offline  
Old 01-10-2007, 01:01 AM   #2 (permalink)
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default

Quote:
I am wanting to program a virtual drive that can be seen as a physical drive
I'm assuming you want to create this application in Windows. If that is the case, then the easiest route is to create a .NET application in C#. C# and .NET facilitate network programming and Windows interaction quite nicely.
Quote:
Also does anyone know any good websites that have guides/tutorials on how this can be done?
It's the programmer's job to come up with the solution! If you are creating this program for yourself only, you could create a new folder somewhere on your hard drive, share it, and then map it as a different drive. In that case, all you'd have to do is write a program (or windows service) to monitor the folder and send its contents to the remote server.
jaeusm is offline  
Old 01-10-2007, 01:42 AM   #3 (permalink)
 
Newb Techie

Join Date: Oct 2006

Posts: 26

yobrojas

Default

Thanks very much for that info. Very helpful. I am a c# programmer so that cool. I havn't been programming long only 6 month or so. So can you suggest any good resource for learning about windows services?
yobrojas is offline  
Old 01-10-2007, 08:44 AM   #4 (permalink)
 
Newb Techie

Join Date: Oct 2006

Posts: 26

yobrojas

Default

Is there a way I can use the filesystemwatch component to monitor a folder I create for new files and changed files(that i know how to do), but then when it notices some change it will upload those files or changed files to an ftp server. Is this the correct way of doing it?
yobrojas is offline  
Old 01-10-2007, 12:04 PM   #5 (permalink)
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default

Quote:
Is there a way I can use the filesystemwatch component to monitor a folder I create for new files and changed files(that i know how to do), but then when it notices some change it will upload those files or changed files to an ftp server. Is this the correct way of doing it?
I have not used the filesystemWatch component, but you have the right idea.

First, I would write the network code and verify that it works. After that, write the windows service. A service is just a program that Windows runs in the background. If you are using Visual Studio 2005, there is an option to create a Windows service when start a new project. If you need more info on services immediately, try Google. You will find that creating services is not very difficult.

Quote:
I havn't been programming long only 6 month or so
This project (especially the network code) may be over your head at this point. However, when you run into specific problems, post them back here.
jaeusm is offline  
Old 01-10-2007, 10:23 PM   #6 (permalink)
 
Newb Techie

Join Date: Oct 2006

Posts: 26

yobrojas

Default

Thanks. Great Info
yobrojas is offline  
Old 01-30-2007, 08:18 PM   #7 (permalink)
 
Newb Techie

Join Date: Oct 2006

Posts: 26

yobrojas

Default

Can this be done using Python programming language? I am more skilled with this language yet have never attempted something like this. Is it possible?
yobrojas is offline  
Old 01-30-2007, 10:06 PM   #8 (permalink)
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default

Yes.
jaeusm is offline  
Old 02-04-2007, 05:40 AM   #9 (permalink)
 
Newb Techie

Join Date: Oct 2006

Posts: 26

yobrojas

Default

How would I have to go about this with python and do you know any good resources to learn about this type of thing.
yobrojas is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On