GNOME Bugzilla – Bug 521509
gFTP should not disconnect on 4xx return code from server
Last modified: 2018-07-01 08:42:37 UTC
This is a copy of bug https://bugzilla.redhat.com/show_bug.cgi?id=145711 Not every ftp server has a default working directory upon logon. When gFTP connects and logs on it issues a PWD command. When there is no default working directory, gFTP sees return code 450 and promptly disconnects, saying it will try again 30 seconds. This is wrong. gFTP should remain connected, and allow the user to use the drop down menus to manually change directory. Version-Release number of selected component (if applicable): 2.0.17 How reproducible: Always Steps to Reproduce: 1. ftp to: sruvm.sru.edu 2. anonymous Actual Results: Looking up sruvm.sru.edu Trying sruvm.sru.edu:21 Connected to sruvm.sru.edu:21 220-FTPSERVE IBM VM V2R4 at SRUVM.SRU.EDU, 12:59:21 EST THURSDAY 01/20/05 220 Connection will close if idle for more than 5 minutes. USER anonymous 230-ANONYMOU logged in; no working directory defined 230 File pool SERVER5 unavailable or unknown; SYST 215-VM/ESA Version 2 Release 3.0, service level 9902 VM/CMS Level 14, Service Level 902 215 VM is the operating system of this server. TYPE I 200 Representation type is IMAGE. PWD 450 No current working directory defined Invalid response '4' received from server. Disconnecting from site sruvm.sru.edu Waiting 30 seconds until trying to connect again Expected Results: gFTP should have left well enough alone and stayed connected after getting the 450 from the PWD command. Additional info: I'm setting this as "high severity", not because it crashes etc, but because it diminshes the usefulness of the program... there's no way to effectively use the ftp server if the server doesn't have a default working directory. 4xx erros from FTP means the condition is temporary and may be tried again..... so gFTP must not disconnect from the server in those cases.
gftp is not under active development anymore and has not seen code changes for many years. Its codebase has been archived: https://gitlab.gnome.org/Archive/gftp/commits/master The maintainer states that "I would like to hand this project off to someone compotent" on https://www.gftp.org/ Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the responsibility for active development again.