Opened 11 years ago

Last modified 11 years ago

#3592 closed Bug report

initial directory passed by URL is interpreted wrong

Reported by: dev2000de Owned by:
Priority: normal Component: FileZilla Client
Keywords: Cc: dev2000de, Tim Kosse
Component version: Operating system type:
Operating system version:

Description

URLs with the syntax "ftp://user:pasw@host/dir1/" will connect to the FTP but then try to CHDIR to "/dir1" instead only CHDIR to "dir1". This is a difference compared to IE or FireFox since it will overwrite the servers user initial user directory setting. The directory "/dir1" does not exists on the server but "/home/user/dir1" in my case.

Change History (3)

comment:1 Changed 11 years ago by Tim Kosse

Simple solution: Use ftp://user:pasw@/home/usr/dir1

comment:2 Changed 11 years ago by dev2000de

Thanks a lot for your answer! The solution (work around) is working fine with FileZilla, but not with IE or Firefox, because the their final path is then /home/usr/home/usr/dir1 at the FTP server and it refuses the CHDIR . The behavior of all URL interpreting tools should be the same, otherwise it's not possible to send an URL to persons those FTP client is not known. It's just an advice to you to have maximum compatibility with the FTP standard.

comment:3 Changed 11 years ago by Tim Kosse

It's just an advice to you to have maximum compatibility
with the FTP standard.

The FTP standard does not talk about URLs. In fact, the FTP standard predates the URL standard by 10 years.

Note: See TracTickets for help on using tickets.