Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File transfer problems with Indy

Status
Not open for further replies.

Heihachi1

Programmer
Jun 13, 2006
1
GB
I've been working with Indy on Delphi 7 lately, and I'm having some real trouble using it to upload files to the remote computer.

Basically what happens is that whenever I try to send up a file (working with and mp3 file), it hangs. After a while I get an exception (EIdSocketError - connection reset by peer). I'm guessing that the connection timed out or something? But if that is the case, I don't know how to handle it.

I've tried using other ftp clients to make sure there was nothing wrong with the actual file.

I've tried setting the transfer type explicitly depending on the file being sent.

I've tried using both versions of Put().

I've tried using Allocate() to save some space on the remote computer.

I've tried going over the demo code, to see if there was anything I missed (but that code messes up too when I ran it).

But I'm really at a loss as to what to try now.

Any ideas?

Thanks


-- Heihachi --
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top