zmjdx / swiftp

Automatically exported from code.google.com/p/swiftp
GNU General Public License v3.0
0 stars 0 forks source link

Unable to upload file with name having Chinese char #34

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. I can upload files to /sdcard, or any subfolders with the filename 
contains only ASCII char.

2. When I tried to upload file with Chinese name, errors occur:
200 Binary type set
227 Entering Passive Mode (192,168,1,101,207,244).
451 Couldn't open file for writing

3. No matter the destination is /sdcard nor subfolders, both having the 
same errors.

What version of SwiFTP are you using?
1.22

What operating system are you using?
Windows 7 Ultimate
Version 6.1.7600 Build 7600

Which FTP client are you using?
Default file browser bundled with the OS

Which Android device do you have (Nexus, Droid, Hero, G1, etc.)?
Motorola Milestone, with Android 2.0

Please provide any additional information below.
1. Tried with Japanese char also, failed.
2. The FTP client is able to download files with non-ASCII filename, just 
unable to upload.

Thanks very much for fixing the bug, it is a great software, and the best 
FTP server in the market.

Original issue reported on code.google.com by kalo...@gmail.com on 20 Jan 2010 at 4:17

GoogleCodeExporter commented 8 years ago
If you're following this bug, could you give me an example of a filename that 
causes
a problem so I can reproduce the problem?

Thanks,
Dave

Original comment by Dave.Revell@gmail.com on 20 Jan 2010 at 5:19

GoogleCodeExporter commented 8 years ago
Sure. Here is an example:
新增文件.txt
which means "new document". An empty file can cause the error.

I also found that rename the file from ASCII filename to non-ASCII
filename has no problem and work correctly.

Original comment by kalo...@gmail.com on 21 Jan 2010 at 2:52

GoogleCodeExporter commented 8 years ago
I just pushed a new version (1.23) which will give a more descriptive error 
message
when this problem occurs. When you see the "451" error, there will be some more 
text.
Please add it to this bug report. Thanks!

Original comment by Dave.Revell@gmail.com on 21 Jan 2010 at 7:44

GoogleCodeExporter commented 8 years ago
Tried with Traditional Chinese Windows XP, using default file browser:
Sending 新增文件.txt to FTP, Somehow the error message is unable to be 
recognized by 
me...

I have tried to guess what's that means, from different encoding to others, but 
unable to find a exact meaning, but it looks like using Big5 to see a UTF-8 
string:
新增文件(UTF-8) -> ?憓?辣(Big5)

Screenshot is attached.

Hope that is helpful...

Original comment by kalo...@gmail.com on 21 Jan 2010 at 9:16

Attachments:

GoogleCodeExporter commented 8 years ago
Please try FileZilla FTP client

我试过中文文件名没问题

Original comment by qq6852...@gmail.com on 15 Jul 2010 at 9:27

GoogleCodeExporter commented 8 years ago
FileZilla FTP很好用!

Original comment by sleep...@gmail.com on 4 Jan 2011 at 8:14

GoogleCodeExporter commented 8 years ago
用Total Commander的FTP客户端,也很好用。
没有乱码。

Original comment by sleep...@gmail.com on 11 Jan 2011 at 5:58

GoogleCodeExporter commented 8 years ago
几十兆大的文件,传输出问题……

Original comment by sleep...@gmail.com on 12 Mar 2011 at 3:56

GoogleCodeExporter commented 8 years ago
i confirm this problem. in one of my pc, upload chinese name file is ok, but 
another faild, i think this problem is xp or ie configulation relate.

Original comment by yezhu...@gmail.com on 25 Jan 2012 at 11:35