ftp_pwd - 현재 디렉토리 이름을 반환합니다.
ftp_pwd - 현재 디렉토리 이름을 반환합니다.
설명 ¶
string ftp_pwd ( resource $ftp_stream )
매개 변수 ¶
ftp_stream
FTP 연결의 링크 식별자입니다.
반환 값 ¶
현재의 디렉토리 명을 돌려줍니다 FALSE.
예 ¶
Example # 1 ftp_pwd () 예제
<?php
// set up basic connection
$conn_id = ftp_connect($ftp_server);
// login with username and password
$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
// change directory to public_html
ftp_chdir($conn_id, 'public_html');
// print current directory
echo ftp_pwd($conn_id); // /public_html
// close the connection
ftp_close($conn_id);
?>
게시판 목록
개발자팁
개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.
질문은 QA에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 4526 | PHP | 8년 전 | 1963 | ||
| 4525 | PHP | 8년 전 | 1814 | ||
| 4524 | PHP | 8년 전 | 1981 | ||
| 4523 | 기타 |
프로그래머7
|
8년 전 | 14778 | |
| 4522 | OS |
프로그래머7
|
8년 전 | 3035 | |
| 4521 | jQuery |
프로그래머7
|
8년 전 | 2114 | |
| 4520 | jQuery |
프로그래머7
|
8년 전 | 2214 | |
| 4519 | jQuery |
프로그래머7
|
8년 전 | 2324 | |
| 4518 | jQuery |
프로그래머7
|
8년 전 | 2086 | |
| 4517 | jQuery |
프로그래머7
|
8년 전 | 2238 | |
| 4516 | jQuery |
프로그래머7
|
8년 전 | 3191 | |
| 4515 | PHP | 8년 전 | 2102 | ||
| 4514 | PHP | 8년 전 | 1879 | ||
| 4513 | PHP | 8년 전 | 2173 | ||
| 4512 | PHP | 8년 전 | 1932 | ||
| 4511 | PHP | 8년 전 | 2659 | ||
| 4510 | PHP | 8년 전 | 2353 | ||
| 4509 | jQuery |
프로그래머7
|
8년 전 | 2241 | |
| 4508 | jQuery |
프로그래머7
|
8년 전 | 2372 | |
| 4507 | jQuery |
프로그래머7
|
8년 전 | 1745 | |
| 4506 | jQuery |
프로그래머7
|
8년 전 | 1780 | |
| 4505 | jQuery |
프로그래머7
|
8년 전 | 1791 | |
| 4504 | jQuery |
프로그래머7
|
8년 전 | 2167 | |
| 4503 | PHP | 8년 전 | 2292 | ||
| 4502 | PHP | 8년 전 | 2156 | ||
| 4501 | PHP | 8년 전 | 2413 | ||
| 4500 | jQuery |
프로그래머7
|
8년 전 | 1835 | |
| 4499 | jQuery |
프로그래머7
|
8년 전 | 1775 | |
| 4498 | jQuery |
프로그래머7
|
8년 전 | 1659 | |
| 4497 | PHP | 8년 전 | 1659 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기