| View previous topic :: View next topic |
| Author |
Message |
DW Contributor

Joined: 21 Mar 2003 Posts: 175 Location: UK
|
Posted: Tue May 27, 2003 10:43 pm Post subject: Sending files over the net. |
|
|
Ok I have been pulling my hair out over this one. So many way to do it but i cant figure out which will work the best.
So far i figure i can use something like vdsinet.dll to send the data of a file via the net and have the program rebuild it, but is this the best way?
Any suggestions on how i can send and recive files over the net? |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Tue May 27, 2003 10:47 pm Post subject: |
|
|
I don't have much knowledge about this particular subject, but shouldn't
you make a socket connection with the other computer and then just
transfer the file?  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
DW Contributor

Joined: 21 Mar 2003 Posts: 175 Location: UK
|
Posted: Tue May 27, 2003 11:09 pm Post subject: |
|
|
that was my initial though actually, but the only solution i could seem to get to work theoretically was to send it via strings line by line.
maybe im looking at this wrong. |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Tue May 27, 2003 11:27 pm Post subject: |
|
|
I would use binfile if you're going to send line for line.
-Garrett |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
moke Contributor

Joined: 02 Jan 2002 Posts: 162
|
Posted: Wed May 28, 2003 1:18 pm Post subject: |
|
|
This might sound a little naive but, doesn't anybody use FTP anymore? I
use the VDSIPP.DLL to send via FTP and it works great, no packet loss,
no breaking down files line by line. It's very simple, of course, I can't
pick up an interrupted transmition (at least I haven't bothered to try
because the FTP has been so reliable). The only issue I run into on
occasion is a firewall blocking port 21.
moke |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
moke Contributor

Joined: 02 Jan 2002 Posts: 162
|
Posted: Wed May 28, 2003 2:39 pm Post subject: |
|
|
Good point Skit . I sometimes forget that my applications are used a bit
differently than most. My use of FTP is easy because although there are
thousands of companies using my software they all send files to the
same server.
But still, the server end is invisble to the user, in most cases. I don't care
what the FTP server is, there are enough low cost FTP servers out there
that I don't need to waste my efforts reproducing them. Since I need to
have the ability to lisence an unlimited number of clients that is where
my developement efforts are placed because that is where my cost
would be if I had buy something to integrate into my applications.
If you're developing a commercial application to sell a complete file
transmition solution to people running web servers you might take a
different approach or you could include one license of a third party FTP
server and mark up you product accordingly.
moke |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Wed May 28, 2003 7:15 pm Post subject: |
|
|
Don't forget you could also do something like a WHOIS server. The
VDSIPP03.DLL can do this. This only would work with text-based content
however it can be pretty reliable and a lot more secure in my opinion
than making a web server.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
|