Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIDFTP sending short files goes to timeout
#6
(01-16-2026, 02:04 AM)Dany40 Wrote: I noted that most bytes in the file is #0, and if I change all the #0 with other value then the file is sent without error.

TIdFTP doesn't care what the file's bytes are. It just reads the file's raw bytes and sends them as-is.

(01-16-2026, 02:04 AM)Dany40 Wrote: Other thing: all the FileZilla servers that does this error are running in Windows 11 PRO virtual machines that are running into a LINUX-PROXMOX environment. If I send the same file to the same version of FileZilla but running in other Windows environments, then the file is sent without problems.

That sounds like an environmental issue and not an Indy issue. Have you reached out to the FileZilla devs?

(01-16-2026, 02:04 AM)Dany40 Wrote: Here you have the logfile done on the client-side. First it creates a target folder, then if the file already exists it is delteted, then the file is sent.

I don't see anything out of the ordinary in that log, except for the missing final response to the file transfer, which is where the timeout error is occurring. TIdFTP is sending the file, but the server is not finalizing the transfer.

(01-16-2026, 12:46 PM)Dany40 Wrote: Let me add another thing: all the servers that cannot receive this file from a TIdFTP client, can receive the same file using any other client.

That makes no sense.

Have you tried using Wireshark to capture the raw TCP traffic? Make sure TIdFTP is actually transmitting all of the expected file bytes over the data connection, and that a closure of the data connection (FYN packet) is being transmitted at the end of the transfer.

(01-16-2026, 02:29 PM)Dany40 Wrote: I add here an image I get when debuggin Indy code, I think this mean Indy is sending the all the bytes.

All that means is that the file bytes are being given to the socket. It is then up to the OS to make sure they are actually transmitted to the server.

Reply


Messages In This Thread
RE: TIDFTP sending short files goes to timeout - by rlebeau - 01-16-2026, 04:53 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)