[Cyberduck-trac] [Cyberduck] #972: invalid path with //

Cyberduck trac at trac.cyberduck.ch
Sat Dec 16 20:04:15 CET 2006


#972: invalid path with //
---------------------+------------------------------------------------------
 Reporter:  slith76  |        Owner:  dkocher
     Type:  defect   |       Status:  new    
 Priority:  high     |    Milestone:         
Component:  ftp      |      Version:  2.7    
 Severity:  normal   |   Resolution:         
 Keywords:           |  
---------------------+------------------------------------------------------
Changes (by dkocher):

  * component:  core => ftp

Old description:

> hello,
>
> since 2.7 (but also 2.7.1) i can not use cyberduck with the url
> ftp://ftphost//directory !
> The URL with two "/" amended to one "/" and my Ftp Server said:
> NOOP
> 200 NOOP Command Successful
> CWD /obelix_user_server
> 550 Invalid Path
>
> Is there a reason for it?
>
> Oliver

New description:

 hello,

 since 2.7 (but also 2.7.1) i can not use cyberduck with the url
 ''ftp://ftphost//directory'' !
 The URL with two "/" amended to one "/" and my Ftp Server said:

 {{{
 NOOP
 200 NOOP Command Successful
 CWD /obelix_user_server
 550 Invalid Path
 }}}

 Is there a reason for it?

 Oliver

Comment:

 Since 2.7 paths are ''normalized''. See
 [http://trac.cyberduck.ch/browser/trunk/source/ch/cyberduck/core/Path.java#L225
 Path.java]. A CWD command to /obelix_user_server should be the same as to
 //obelix_user_server.

-- 
Ticket URL: <http://trac.cyberduck.ch/ticket/972>
Cyberduck <http://cyberduck.ch>
FTP and SFTP Browser for Mac OS X.


More information about the Cyberduck-trac mailing list