|
-
Jul 3rd, 2006, 10:34 AM
#1
Thread Starter
Hyperactive Member
Sending files and downloading files from computers.
Hi I’m making a server in witch my friends log on to get programs from my computer and vice versa. Now I was looking for an easy way for downloading a program from the computer as well as uploading files. I was also wondering how I would find a way where I could scroll through files on my computer from his house. I’ve seen all this before and they say it's not hard so thanks in advance. And about the scrolling through files that would help me a lot!
Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
 - 
-
Jul 3rd, 2006, 04:18 PM
#2
Re: Sending files and downloading files from computers.
If you have IIS (Internet Information Services), you can just enable FTP, and set up a public directory, and your done...
-
Jul 3rd, 2006, 05:02 PM
#3
Thread Starter
Hyperactive Member
Re: Sending files and downloading files from computers.
the reason i ask is because im also trying to creat a remote desktop program with multiple functions so what im doing with my friends is going to be test all thats left is captuing image witch im almost done and file transpher. But thanks for the suggestion.
Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
 - 
-
Jul 4th, 2006, 04:14 AM
#4
Thread Starter
Hyperactive Member
Re: Sending files and downloading files from computers.
No one knows any way of doing this?
Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
 - 
-
Jul 4th, 2006, 06:22 AM
#5
Hyperactive Member
Re: Sending files and downloading files from computers.
Okay then, here's what you do.
I will assume basic winsock knowledge.
You write a server program which will run on your computer, that contains a winsock control that listens to a particular port number, and gets data when a request is made.
You then have a client on another computer, which has a winsock control, which sends requests to the server, and waits for a response.
So, to get files from your computer, from the client you send a request to the server, e.g. the filename ("C:\file.txt"), and then the server, reads the request, and sends back the contents of the file.
To get the file structure of the computer, you need to send a request to the server, like getfilestructure, and the server then compiles the file structure into a file, and sends it to you. You could even have it save the files, by sending a request to the server, that looks like this:
FileDestination=C:\file.txt
FileType=text
FileContent=file (etc, etc)
and do it a bit like a web server.
If you want me to write some code for it, that could take a while longer, but thats the basic idea of it.
KAZAR
The Law Of Programming:
As the Number of Lines of code increases, the number of bugs generated by fixing a bug increases exponentially.
__________________________________
www.startingqbasic.co.uk
-
Jul 4th, 2006, 06:49 AM
#6
Thread Starter
Hyperactive Member
Re: Sending files and downloading files from computers.
ok exactly what i was looking for. If you could make that example i would be happy. 
dont worry about explaining code i could read perfectly so that should save you time. :P
And thanks for reply.
Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
 - 
-
Jul 4th, 2006, 06:57 AM
#7
Re: Sending files and downloading files from computers.
-
Jul 4th, 2006, 07:07 AM
#8
Thread Starter
Hyperactive Member
Re: Sending files and downloading files from computers.
Thanks man. And sweet your from toronto, Im from montreal :P
Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
 - 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|