1. piwigo 에서 한글 파일/폴더명 인식시키기

./include/config_default.inc.php 의 파일에서 ...

761 라인을 다음과 같이 수정합니다.



$conf['sync_chars_regex'] = '/^[a-zA-Z0-9-_.]+$/';



$conf['sync_chars_regex'] = '/[\x{1100}-\x{11FF}\x{3130}-\x{318F}\x{AC00}-\x{D7AF}0-9a-zA-Z]+/u';

2. 한글 파일 인식 오류 해결하기

./admin/site_update.php 의 파일에서..

아래의 함수를 적당한 위치에 추가한다.

function getbasename($path) {

$pattern = (strncasecmp(PHP_OS, 'WIN', 3) ? '/([^\/]+)[\/]*$/' : '/([^\/\\\\]+)[\/\\\\]*$/');
if (preg_match($pattern, $path, $matches))
    return $matches[1];
return '';


./admin/site_update.php 의 파일에서.. 

basename 으로 되어있는 소스를 모두 getbasename 으로 수정한다.








위와같이 수정을 하면 piwigo 에서도 한글 파일/폴더명을 인식하여 자동으로 갤러리가 생성이 됩니다.,

출처 : http://xenostudy.tistory.com/415

'강좌 > HP N54L 활용' 카테고리의 다른 글

N54L 커스텀 펌웨어 올리기  (0) 2015.10.20
HP N54L 램 16GB로 증설  (2) 2015.08.07
[펌] piwigo 한글 경로 및 한글 파일명 인식하기  (0) 2014.09.12
piwigo - videojs 플러그인 모바일 사이즈 조정  (0) 2014.07.15
Piwigo convert util  (0) 2014.07.15
vim 설정  (0) 2014.07.15
CentOS 7 ffmpeg 설치  (0) 2014.07.11
PHP-FPM 설치 후 php.ini 설정  (0) 2014.07.10
tomcat subsonic 오류  (0) 2014.07.10

NERVE Live at Nublu – June 23, 2014 from Nerve Official on Vimeo.

정말 대단하다고 밖에는.....

'Music' 카테고리의 다른 글

Jojo Mayer Nublu 2014  (0) 2014.09.03
Roland MicroCube  (0) 2006.09.18

CREATE TABLE mantis_project_category_table (
                 PRIMARY KEY (project_id, category)


migrate_for_mantis 파일에서 다음 문자열 수정
















티스토리 앱 아이폰용이 나왔었군요

바로 설치 및 글 작성

​색상 변경 시험

사진 올리기와 간단한 이미지 편집 가능

앱 좋네요

이 제품 도데체 뭘 이따위로 만든건지 모르겠다.

사용하다 보니 어느날 부터 내부 네트워크 접속 불가 ㅋㅋ

집에 서버로 접속이 아예 안된다..

IP로 접속을 해봐도 안되고 ssh 만 연결이 되는걸 보면 뭔가 방화벽이 막고 있나? 싶어서 서버쪽 방화벽을 보면

다 풀려있고..

서버 방화벽을 내려도 접속이 안됨 -_-;;

그래서 랜선 다 뽑아 버리고 기존에 쓰던 ipTime 공유기로 전부 다시 연결해버리니..

잘 된다

디링크 공유기 정말 별로다...

곧 팔아버릴듯..

그리고 간혹 무선랜이 엄청나게 느려지는 현상도 있다 ㅋㅋ

이딴걸 지금 공유기라고 팔아먹는건지 ...

You are on the nsftools.com site

This page originally appeared at http://www.dreamhaven.org/ftp-raw.html, but the last time I looked it wasn't there any more, so I posted a local copy for you here. If you were really looking for a list of commands for the Microsoft Windows command-line FTP client, please look here instead.

List of raw FTP commands

(Warning: this is a technical document, not necessary for most FTP use.)

Note that commands marked with a * are not implemented in a number of FTP servers.

Common commands

  • ABOR - abort a file transfer
  • CWD - change working directory
  • DELE - delete a remote file
  • LIST - list remote files
  • MDTM - return the modification time of a file
  • MKD - make a remote directory
  • NLST - name list of remote directory
  • PASS - send password
  • PASV - enter passive mode
  • PORT - open a data port
  • PWD - print working directory
  • QUIT - terminate the connection
  • RETR - retrieve a remote file
  • RMD - remove a remote directory
  • RNFR - rename from
  • RNTO - rename to
  • SITE - site-specific commands
  • SIZE - return the size of a file
  • STOR - store a file on the remote host
  • TYPE - set transfer type
  • USER - send username

Less common commands

  • ACCT* - send account information
  • APPE - append to a remote file
  • CDUP - CWD to the parent of the current directory
  • HELP - return help on using the server
  • MODE - set transfer mode
  • NOOP - do nothing
  • REIN* - reinitialize the connection
  • STAT - return server status
  • STOU - store a file uniquely
  • STRU - set file transfer structure
  • SYST - return system type


Syntax: ABOR

Aborts a file transfer currently in progress.


Syntax: ACCT account-info

This command is used to send account information on systems that require it. Typically sent after a PASS command.


Syntax: ALLO size [R max-record-size]

Allocates sufficient storage space to receive a file. If the maximum size of a record also needs to be known, that is sent as a second numeric parameter following a space, the capital letter "R", and another space.


Syntax: APPE remote-filename

Append data to the end of a file on the remote host. If the file does not already exist, it is created. This command must be preceded by a PORT or PASV command so that the server knows where to receive data from.


Syntax: CDUP

Makes the parent of the current directory be the current directory.


Syntax: CWD remote-directory

Makes the given directory be the current directory on the remote host.


Syntax: DELE remote-filename

Deletes the given file on the remote host.


Syntax: HELP [command]

If a command is given, returns help on that command; otherwise, returns general help for the FTP server (usually a list of supported commands).


Syntax: LIST [remote-filespec]

If remote-filespec refers to a file, sends information about that file. If remote-filespec refers to a directory, sends information about each file in that directory. remote-filespec defaults to the current directory. This command must be preceded by a PORT or PASV command.


Syntax: MDTM remote-filename

Returns the last-modified time of the given file on the remote host in the format "YYYYMMDDhhmmss": YYYY is the four-digit year, MM is the month from 01 to 12, DD is the day of the month from 01 to 31, hh is the hour from 00 to 23, mm is the minute from 00 to 59, and ss is the second from 00 to 59.


Syntax: MKD remote-directory

Creates the named directory on the remote host.


Syntax: MODE mode-character

Sets the transfer mode to one of:

  • S - Stream
  • B - Block
  • C - Compressed
The default mode is Stream.


Syntax: NLST [remote-directory]

Returns a list of filenames in the given directory (defaulting to the current directory), with no other information. Must be preceded by a PORT or PASV command.


Syntax: NOOP

Does nothing except return a response.


Syntax: PASS password

After sending the USER command, send this command to complete the login process. (Note, however, that an ACCT command may have to be used on some systems.)


Syntax: PASV

Tells the server to enter "passive mode". In passive mode, the server will wait for the client to establish a connection with it rather than attempting to connect to a client-specified port. The server will respond with the address of the port it is listening on, with a message like:
227 Entering Passive Mode (a1,a2,a3,a4,p1,p2)
where a1.a2.a3.a4 is the IP address and p1*256+p2 is the port number.


Syntax: PORT a1,a2,a3,a4,p1,p2

Specifies the host and port to which the server should connect for the next file transfer. This is interpreted as IP address a1.a2.a3.a4, port p1*256+p2.


Syntax: PWD

Returns the name of the current directory on the remote host.


Syntax: QUIT

Terminates the command connection.


Syntax: REIN

Reinitializes the command connection - cancels the current user/password/account information. Should be followed by a USER command for another login.


Syntax: REST position

Sets the point at which a file transfer should start; useful for resuming interrupted transfers. For nonstructured files, this is simply a decimal number. This command must immediately precede a data transfer command (RETR or STOR only); i.e. it must come after any PORT or PASV command.


Syntax: RETR remote-filename

Begins transmission of a file from the remote host. Must be preceded by either a PORT command or a PASV command to indicate where the server should send data.


Syntax: RMD remote-directory

Deletes the named directory on the remote host.


Syntax: RNFR from-filename

Used when renaming a file. Use this command to specify the file to be renamed; follow it with an RNTO command to specify the new name for the file.


Syntax: RNTO to-filename

Used when renaming a file. After sending an RNFR command to specify the file to rename, send this command to specify the new name for the file.


Syntax: SITE site-specific-command

Executes a site-specific command.


Syntax: SIZE remote-filename

Returns the size of the remote file as a decimal number.


Syntax: STAT [remote-filespec]

If invoked without parameters, returns general status information about the FTP server process. If a parameter is given, acts like the LIST command, except that data is sent over the control connection (no PORT or PASV command is required).


Syntax: STOR remote-filename

Begins transmission of a file to the remote site. Must be preceded by either a PORT command or a PASV command so the server knows where to accept data from.


Syntax: STOU

Begins transmission of a file to the remote site; the remote filename will be unique in the current directory. The response from the server will include the filename.


Syntax: STRU structure-character

Sets the file structure for transfer to one of:

  • F - File (no structure)
  • R - Record structure
  • P - Page structure
The default structure is File.


Syntax: SYST

Returns a word identifying the system, the word "Type:", and the default transfer type (as would be set by the TYPE command). For example: UNIX Type: L8


Syntax: TYPE type-character [second-type-character]

Sets the type of file to be transferred. type-character can be any of:

  • A - ASCII text
  • E - EBCDIC text
  • I - image (binary data)
  • L - local format
For A and E, the second-type-character specifies how the text should be interpreted. It can be:
  • N - Non-print (not destined for printing). This is the default if second-type-character is omitted.
  • T - Telnet format control (<CR>, <FF>, etc.)
  • C - ASA Carriage Control
For L, the second-type-character specifies the number of bits per byte on the local system, and may not be omitted.


Syntax: USER username

Send this command to begin the login process. username should be a valid username on the system, or "anonymous" to initiate an anonymous login.

'OS > Linux' 카테고리의 다른 글

리눅스 CLI 로 인터넷 속도 측정  (1) 2018.07.13
리눅스 터미널 Ctrl s 입력시 멈춤  (0) 2016.10.12
삼바 설정  (0) 2015.09.01
FTP row CMD 목록  (0) 2014.07.28
CentOS 7 방화벽  (0) 2014.07.14
만능 Makefile  (8) 2014.07.10
Ubuntu 14.04 XRDP - 우분투 14.04 XRDP 설정  (0) 2014.07.02
yum 속도 개선  (0) 2011.10.07
Linux Bonding 구성  (0) 2011.06.01

+ Recent posts