• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 198
  • Last Modified:

Internet transfer of files

I've taken two different approaches to writing this program and I've run into problems both ways.  I'm trying to transfer a file over the internet.  I'm using Delphi 4 with it's internet tools.  

I tried using the TNMStrm and the TNMStrmServ and it works for smaller files, but locks up with bigger files.

Then I tried using the TClientSocket and the TServerSocket, and padding the file myself, but I seem to be having problems on the recieving end.

Can anyone help me with one or maybe both approaches, or maybe have another better way of doing it.

Thank you

Gms300
0
Gms300
Asked:
Gms300
  • 3
  • 2
  • 2
  • +2
1 Solution
 
BlackManCommented:
You could take a look at Francois Piette's ICS package, it is free with source and lots of examples. Check http://www.rtfm.be/fpiette/indexuk.htm
0
 
itamarCommented:
If you want a second opinion, I would recomend FPiette´s components also.
0
 
borupCommented:
Or IP*Works which is my favorit. But it isn't free. It costs about $300. But using their FTP component is very easy!

http://www.dev-soft.com
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

 
ZifNabCommented:
Third opinion : use F.Piette's components!
0
 
borupCommented:
Now I have to check out F. Piette's components myself.... If both of you really are so excited it must be good ;-)
0
 
Gms300Author Commented:
Those components look great, but they have very little documentation.  Which is the bast component(s) to use to send a file from one machine to another via the internet?
0
 
ZifNabCommented:
GMS300. Your correct, not much help-files around, but a great free mailing list!

What about using the FTP components (FTPCli = Client; FTPSRV = server site)? (FTP : File Transfer protocol), you can offcourse create your own protocol, but the FTP is standard... or use UDP.

Regards, Zif.
0
 
Gms300Author Commented:
Thank you all....  That seemed to work alot easier than I thought it would.  I wish I would've known about that weeks ago when I started this project.  Well, the points are for whoever of the above that wants them.  

Thanx again

Gms300
0
 
BlackManCommented:
Ok, I'll do it then :-)

You could take a look at Francois Piette's ICS package, it is free with source and lots of examples. Check http://www.rtfm.be/fpiette/indexuk.htm
0
 
Gms300Author Commented:
Thanks for your help
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now