Forum

/ Home \ \ Subjects /



Subject: FTP UTF-8?

17/11/2019 11:00 AdminZ:
Планируется ли поддержка UTF-8, CP1251 в FTP?
17/11/2019 11:15 AdminZ:
Оказывается это сдвоенные точки .. в именах-путях не идут.
17/11/2019 11:23 AdminZ:
На NTFS разделе, на котором находится директория с файлами ФТП, кириллица в именах файлов превращается в крякозябры
17/11/2019 11:48 Max:
Да, возможно UTF будет поддерживаться в будущем
17/11/2019 14:19 AdminZ:
точнее не сдвоенные, а две точки подряд - извиняюсь за такое путанное сообщение.
14/12/2019 11:29 AdminZ:

14/12/2019 11:31 AdminZ:
3.05.93, FAR3, NetBox
FTP с нюансами, но работает:
. 2019-12-14 11:27:48.484 --------------------------------------------------------------------------
. 2019-12-14 11:27:48.484 NetBox Version 2.4.5 (Build 531) (OS 5.1.2600 Service Pack 3 - Microsoft Windows XP)
. 2019-12-14 11:27:48.500 Configuration: NetBox 3\
. 2019-12-14 11:27:48.500 Working directory: C:\shttps
. 2019-12-14 11:27:48.500 Process ID: 1736
. 2019-12-14 11:27:48.500 Time zone: Current: GMT (Саудовское время (зима)), No DST
. 2019-12-14 11:27:48.500 Warning: System option "Automatically adjust clock for Daylight Saving Time" is disabled, timestamps will not be represented correctly
. 2019-12-14 11:27:48.500 --------------------------------------------------------------------------
. 2019-12-14 11:27:48.500 Transfer Protocol: FTP
. 2019-12-14 11:27:48.500 Code Page: 65001
. 2019-12-14 11:27:48.500 Ping type: Dummy, Ping interval: 30 sec; Timeout: 15 sec
. 2019-12-14 11:27:48.500 Disable Nagle: Yes
. 2019-12-14 11:27:48.500 Proxy: None
. 2019-12-14 11:27:48.500 Send buffer: 262144
. 2019-12-14 11:27:48.500 UTF: Off
. 2019-12-14 11:27:48.500 FTPS: None [Client certificate: No]
. 2019-12-14 11:27:48.500 FTP: Passive: No [Force IP: Auto]; MLSD: Auto [List all: Auto]; HOST: Auto
. 2019-12-14 11:27:48.500 Local directory: default, Remote directory: /, Update: No, Cache: No
. 2019-12-14 11:27:48.500 Cache directory changes: No, Permanent: No
. 2019-12-14 11:27:48.500 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2019-12-14 11:27:48.500 Timezone offset: 0h 0m
. 2019-12-14 11:27:48.500 --------------------------------------------------------------------------
. 2019-12-14 11:27:48.500 Connecting to 127.0.0.1 ...
. 2019-12-14 11:27:48.500 Connected with 127.0.0.1. Waiting for welcome message...
< 2019-12-14 11:27:48.500 220 FTP server ready
> 2019-12-14 11:27:48.500 USER user
< 2019-12-14 11:27:48.500 331 Password request
> 2019-12-14 11:27:48.562 PASS ****
< 2019-12-14 11:27:48.562 230 Logged
14/12/2019 11:32 AdminZ:
< 2019-12-14 11:27:48.562 230 Logged in successfully
> 2019-12-14 11:27:48.562 SYST
< 2019-12-14 11:27:48.562 215 WIN32 A N
> 2019-12-14 11:27:48.562 FEAT
< 2019-12-14 11:27:48.562 502 Command not implemented
> 2019-12-14 11:27:48.562 OPTS UTF8 ON
< 2019-12-14 11:27:48.562 502 Command not implemented
. 2019-12-14 11:27:48.562 Connected
. 2019-12-14 11:27:48.562 Got reply 1 to the command 1
. 2019-12-14 11:27:48.562 --------------------------------------------------------------------------
. 2019-12-14 11:27:48.562 Using FTP protocol.
. 2019-12-14 11:27:48.562 Doing startup conversation with host.
> 2019-12-14 11:27:48.562 PWD
< 2019-12-14 11:27:48.562 257 "/" Ok
. 2019-12-14 11:27:48.562 Got reply 1 to the command 16
. 2019-12-14 11:27:48.562 Changing directory to "/".
> 2019-12-14 11:27:48.562 CWD /
< 2019-12-14 11:27:48.562 250 Ok
. 2019-12-14 11:27:48.562 Got reply 1 to the command 16
. 2019-12-14 11:27:48.562 Getting current directory name.
> 2019-12-14 11:27:48.562 PWD
< 2019-12-14 11:27:48.562 257 "/" Ok
. 2019-12-14 11:27:48.562 Got reply 1 to the command 16
. 2019-12-14 11:27:48.562 Retrieving directory listing...
> 2019-12-14 11:27:48.562 TYPE A
< 2019-12-14 11:27:48.609 200 Ok
> 2019-12-14 11:27:48.609 PORT 127,0,0,1,142,67
< 2019-12-14 11:27:48.609 200 port: 36419
> 2019-12-14 11:27:48.609 LIST -a
< 2019-12-14 11:27:48.609 150 Ok
< 2019-12-14 11:27:48.609 226 Ok
. 2019-12-14 11:27:48.609 Data connection closed
. 2019-12-14 11:27:48.609 drw-rw-rwx 1 nouser nogroup 0 Dec 14 11:14 .
. 2019-12-14 11:27:48.609 drw-rw-rwx 1 nouser nogroup 0 Dec 14 11:14 ..
. 2019-12-14 11:27:48.609 Directory listing successful
. 2019-12-14 11:27:48.609 Got reply 1 to the command 2
. 2019-12-14 11:27:48.609 LIST with -a switch returned empty directory listing, will try pure LIST
. 2019-12-14 11:27:48.609 Retrieving directory listing...
> 2019-12-14 11:27:48.609 TYPE A
< 2019-12-14 11:27:48.609 200 Ok
> 2019-12-14 11:27:48.609 PORT 127,0,0,1,142,69
< 201
14/12/2019 11:33 AdminZ:
> 2019-12-14 11:27:48.609 PORT 127,0,0,1,142,69
< 2019-12-14 11:27:48.609 200 port: 36421
> 2019-12-14 11:27:48.609 LIST
< 2019-12-14 11:27:48.609 150 Ok
< 2019-12-14 11:27:48.656 226 Ok
. 2019-12-14 11:27:48.656 Data connection closed
. 2019-12-14 11:27:48.656 drw-rw-rwx 1 nouser nogroup 0 Dec 14 11:14 .
. 2019-12-14 11:27:48.656 drw-rw-rwx 1 nouser nogroup 0 Dec 14 11:14 ..
. 2019-12-14 11:27:48.656 Directory listing successful
. 2019-12-14 11:27:48.656 Got reply 1 to the command 2
. 2019-12-14 11:27:48.656 ..;D;0;1899-12-30T1190:02:47.297Z;0;"" [0];"" [0];---------;0
. 2019-12-14 11:27:48.656 Startup conversation with host finished.

14/12/2019 11:35 AdminZ:
В 3.06.08 FTP не работает, log NetBox:
. 2019-12-14 11:25:49.078 --------------------------------------------------------------------------
. 2019-12-14 11:25:49.078 NetBox Version 2.4.5 (Build 531) (OS 5.1.2600 Service Pack 3 - Microsoft Windows XP)
. 2019-12-14 11:25:49.093 Configuration: NetBox 3\
. 2019-12-14 11:25:49.093 Working directory: C:\Lua5
. 2019-12-14 11:25:49.093 Process ID: 1736
. 2019-12-14 11:25:49.093 Time zone: Current: GMT (Саудовское время (зима)), No DST
. 2019-12-14 11:25:49.093 Warning: System option "Automatically adjust clock for Daylight Saving Time" is disabled, timestamps will not be represented correctly
. 2019-12-14 11:25:49.093 --------------------------------------------------------------------------
. 2019-12-14 11:25:49.093 Transfer Protocol: FTP
. 2019-12-14 11:25:49.093 Code Page: 65001
. 2019-12-14 11:25:49.093 Ping type: Dummy, Ping interval: 30 sec; Timeout: 15 sec
. 2019-12-14 11:25:49.093 Disable Nagle: Yes
. 2019-12-14 11:25:49.093 Proxy: None
. 2019-12-14 11:25:49.093 Send buffer: 262144
. 2019-12-14 11:25:49.093 UTF: Off
. 2019-12-14 11:25:49.093 FTPS: None [Client certificate: No]
. 2019-12-14 11:25:49.093 FTP: Passive: No [Force IP: Auto]; MLSD: Auto [List all: Auto]; HOST: Auto
. 2019-12-14 11:25:49.093 Local directory: default, Remote directory: /, Update: No, Cache: No
. 2019-12-14 11:25:49.093 Cache directory changes: No, Permanent: No
. 2019-12-14 11:25:49.093 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2019-12-14 11:25:49.093 Timezone offset: 0h 0m
. 2019-12-14 11:25:49.093 --------------------------------------------------------------------------
. 2019-12-14 11:25:49.093 Connecting to 127.0.0.1 ...
. 2019-12-14 11:25:49.093 Connected with 127.0.0.1. Waiting for welcome message...
< 2019-12-14 11:25:49.093 220 FTP server ready
> 2019-12-14 11:25:49.093 USER user
< 2019-12-14 11:25:49.093 331 Password request
> 2019-12-14 11:25:49.093 PASS ****
< 2019-12-14 11:25:49.093 230 Logged in successfull
14/12/2019 11:36 AdminZ:
< 2019-12-14 11:25:49.093 230 Logged in successfully
> 2019-12-14 11:25:49.093 SYST
< 2019-12-14 11:25:49.093 215 UNIX A N
> 2019-12-14 11:25:49.093 FEAT
< 2019-12-14 11:25:49.093 211- Extensions supported:
< 2019-12-14 11:25:49.093 UTF8
< 2019-12-14 11:25:49.093 UTF-8
< 2019-12-14 11:25:49.093 SIZE
< 2019-12-14 11:25:49.093 221 end
. 2019-12-14 11:26:04.093 Timeout detected. (control connection)
. 2019-12-14 11:26:04.093 Got reply 1004 to the command 1
* 2019-12-14 11:26:04.093
* 2019-12-14 11:26:04.093 Timeout detected. (control connection)
* 2019-12-14 11:26:04.093

14/12/2019 11:41 AdminZ:
Вход в директорию не осуществлён.
14/12/2019 15:44 Max:
Попробуйте 3.06.09
14/12/2019 16:33 AdminZ:
09 как и 08, без изменений.
14/12/2019 19:03 Max:
Тогда 3.06.10
14/12/2019 21:10 AdminZ:
10 в папку пускает, старые баги пока на месте. Пытаюсь скопировать с панели фтп файл йцукюенг на локальный винт. Лог:
. 2019-12-14 21:07:41.406 Copying 1 files/directories to local directory "Z:\TEMP\1\" - total size: 0
. 2019-12-14 21:07:41.406 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: Yes; Mask: йцукюенг
. 2019-12-14 21:07:41.406 TM: B; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: No; InclM: ; ResumeL: 0
. 2019-12-14 21:07:41.406 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2019-12-14 21:07:41.406 File: '/йцукюенг' [2019-12-14T18:05:00.000Z] [0]
. 2019-12-14 21:07:41.406 Copying "/йцукюенг" to local directory started.
. 2019-12-14 21:07:41.406 Binary transfer mode selected.
. 2019-12-14 21:07:41.406 Starting download of /йцукюенг
> 2019-12-14 21:07:41.406 TYPE I
< 2019-12-14 21:07:41.406 200 Ok
> 2019-12-14 21:07:41.406 PORT 127,0,0,1,9,74
< 2019-12-14 21:07:41.406 200 port: 2378
> 2019-12-14 21:07:41.406 RETR йцукюенг
< 2019-12-14 21:07:41.406 150 Ok
. 2019-12-14 21:07:41.406 Data connection closed
< 2019-12-14 21:07:41.406 426 Err
. 2019-12-14 21:07:41.406 Got reply 4 to the command 4
* 2019-12-14 21:07:41.406
* 2019-12-14 21:07:41.406 Err
. 2019-12-14 21:07:41.406 Asking user:
. 2019-12-14 21:07:41.406 Error transferring file '/йцукюенг'. ("Err")
. 2019-12-14 21:07:46.328 Transfer progress: Transferred: 0, Left: 00:00:00, CPS: 0/s
* 2019-12-14 21:07:46.328
* 2019-12-14 21:07:46.328
* 2019-12-14 21:07:46.328 Err
. 2019-12-14 21:07:46.328 Copying finished: Transferred: 0, Elapsed: 00:00:04, CPS: 0/s

14/12/2019 21:13 AdminZ:
Странно, после того, как в него записал с десяток символов (был 0 байт) стал копироваться нормально. Обнулил, всё равно копируется нормально - непонятно.

User: Password: New user:   Save password: