Bug 18960 - ncftpput, ncftpget remote cd fails
Summary: ncftpput, ncftpget remote cd fails
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ncftp
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-10-12 14:04 UTC by Robert J. Osborne
Modified: 2007-04-18 16:29 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-10-12 14:04:49 UTC
Embargoed:


Attachments (Terms of Use)

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



Note You need to log in before you can comment on or make changes to this bug.