Solved

Internet transfer of files

Posted on 1998-09-22
10
171 Views
Last Modified: 2010-04-06
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
Comment
Question by:Gms300
  • 3
  • 2
  • 2
  • +2
10 Comments
 
LVL 7

Expert Comment

by:BlackMan
ID: 1340532
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
 
LVL 4

Expert Comment

by:itamar
ID: 1340533
If you want a second opinion, I would recomend FPiette´s components also.
0
 
LVL 1

Expert Comment

by:borup
ID: 1340534
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
 
LVL 8

Expert Comment

by:ZifNab
ID: 1340535
Third opinion : use F.Piette's components!
0
 
LVL 1

Expert Comment

by:borup
ID: 1340536
Now I have to check out F. Piette's components myself.... If both of you really are so excited it must be good ;-)
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:Gms300
ID: 1340537
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
 
LVL 8

Expert Comment

by:ZifNab
ID: 1340538
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
 

Author Comment

by:Gms300
ID: 1340539
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
 
LVL 7

Accepted Solution

by:
BlackMan earned 150 total points
ID: 1340540
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
 

Author Comment

by:Gms300
ID: 1340541
Thanks for your help
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now