Bug 18960

Summary: ncftpput, ncftpget remote cd fails
Product: [Retired] Red Hat Linux Reporter: Robert J. Osborne <rj>
Component: ncftpAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED WORKSFORME QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-10-12 14:04:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Robert J. Osborne 2000-10-12 14:04:43 UTC
The ncftpput and ncftpget do not properly change directory remotely. 
Instead, they report that the directory on the FTP server does not exist.

Comment 1 Bernhard Rosenkraenzer 2000-10-12 14:39:16 UTC
Both

"ncftpget ftp://ftp.linux-easy.com/pub/linux-easy/i386/lilo-config-0.1.0-1.i386.rpm"

and
"ncftpget ftp.linux-easy.com . /pub/linux-easy/i386/lilo-config-0.1.0-1.i386.rpm"

work for me.

This may be a problem with a specific server you're trying to access; feel free to reopen this bug with a test case.


Comment 2 Mike Gleason 2000-10-19 03:56:47 UTC
There was a bug, when the remote directory to use was an absolute path and the 
remote home directory was not root (i.e. any non-anonymous user).  The problem 
was that NcFTP was stripping the first slash, and treating the rest of the path 
as a relative path.  For example:

    ncftpget -u joeuser 10.1.2.3 /tmp /usr/bin/X11/xxgdb

This would fail with 3.0.1, because NcFTP would try to change to usr/bin/X11 
from the user's home directory.

NcFTP 3.0.2 will fix this problem.  (To be released October 19, 2000)

Mike Gleason