| Ticket UUID: | 1548418 | |||
| Title: | ftp::Put hangs when non-existent directory | |||
| Type: | Bug | Version: | None | |
| Submitter: | cdclercq | Created on: | 2006-08-29 09:22:32 | |
| Subsystem: | ftp | Assigned To: | andreas_kupries | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2026-11-21 12:27:58 | |
| Resolution: | Fixed | Closed By: | serhiy.storchaka | |
| Closed on: | 2026-11-21 12:27:58 | |||
| Description: |
When the directory in the l_dest_file does not exists,
the statement hangs.
Example:
if { [ftp::Put $h_dest_ftp $l_bck_file $l_dest_file] ==
1 } {
...
}
| |||
| User Comments: |
serhiy.storchaka added on 2026-11-21 12:27:58:
Reproduced with ftp 2.4.4 (tcllib 1.9) in passive mode: when the server refuses STOR, the state handler fails on an unconditional unset ftp(state.data), and Put waits for the whole control timeout (600 s by default). Fixed by [8c05be2b14] (ftp 2.4.5, first released in tcllib 1.10). Put into a missing directory now returns 0 immediately in both modes. | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki