Solved

Socket Send Aborted?  (NMFTP)

Posted on 2001-08-26
4
958 Views
Last Modified: 2007-12-19

I am using the FTP component to download a file from a server, but when downloading a file that is 1.3 meg in size, it continually abends and says "socket send aborted".(?)  This has happened 5 or 6 times in a row, not always at that same point, sometimes it gets to 700k or 800k then abends, other times it may get over a meg an abend but never finish.  Any idea what could be causing this?  Uploading seems to work fine, as I have uploaded 1 meg files using this component without any problems.
0
Comment
Question by:jexd99
  • 2
4 Comments
 

Author Comment

by:jexd99
ID: 6427364
I forgot to mention I'm using D5.
0
 
LVL 2

Expert Comment

by:PeterLarsen
ID: 6427870
You should try the components from Francois Piette !
0
 
LVL 3

Accepted Solution

by:
Pegasus100397 earned 200 total points
ID: 6430190
Jexd99,

  I had this same problem with the NetMasters TNMFTP component. The answer is to set the Timeout value to 0 or some huge number.

You would think the Timeout would be triggered when the FTP component did not receive data in a specified amount of time.... NOT SO! The timeout that this component uses refers to the amount of time SINCE THE FILE TRANSFER STARTED to timeout with a "Socket Send Aborted" error.

Good luck with your project!
Pegasus
0
 

Author Comment

by:jexd99
ID: 6430668
Wow, I'm absolutely stunned. I spent a full day researching the possible errors that could cause this, and I just tried your suggestion and it worked as you said.

That is really odd, but seeing it work finally is beautiful! :-)  Thanks.
 
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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

947 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

20 Experts available now in Live!

Get 1:1 Help Now