Author Ian Liu Rodrigues
Recipients Ian Liu Rodrigues
Date 2018-11-13.19:20:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Some FTP clients will not allow changing to a directory if the path does not ends with a slash. For example, try out this in a public FTP:

from ftplib import FTP
ftp = FTP('')
ftp.cwd('pub/libreoffice') # throws error
ftp.cwd('pub/libreoffice/') # OK

The problem is urllib.request doesn't include the trailing slash, thus throwing an error. This behavior also happens with the command line ftp client.

I think this happens because the libreoffice directory is a symlink, and this can be a FTP server specific behavior.
Date User Action Args
2018-11-13 19:20:41Ian Liu Rodriguessetrecipients: + Ian Liu Rodrigues
2018-11-13 19:20:41Ian Liu Rodriguessetmessageid: <>
2018-11-13 19:20:41Ian Liu Rodrigueslinkissue35236 messages
2018-11-13 19:20:41Ian Liu Rodriguescreate