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 --
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 --