What steps will reproduce the problem?
1. Open file from FTPFS with non ASCII characters in path (unicode path).
2. Use method seek(...) for opened file.
What is the expected output? What do you see instead?
We get the exception UnicodeDecodeError.
What version of the product are you using? On what operating system?
Centos 5.3
Python 2.7
fs-0.4
Please provide any additional information below.
Need patch the method _FTPFile.seek() in line 745:
- self.__init__(self.ftpfs, self.ftp, _encode(self.path), self.mode)
+ self.__init__(self.ftpfs, self.ftp, self.path, self.mode)
Original issue reported on code.google.com by cyk...@gmail.com on 5 Mar 2013 at 7:34
Original issue reported on code.google.com by
cyk...@gmail.com
on 5 Mar 2013 at 7:34