Cubrid import 빨리 하는 방법

DatabaseConn.java &lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div style="padding:10px;background-color:#C9EDFF"&gt;&lt;p id="more-82-0" class="moreless_fold" style="color:#000000;padding:0 0 0 10px"&gt;&lt;span style="cursor:pointer" onclick="if (window.TC$PRIV_toggleMoreLessBlogger != undefined) {TC$PRIV_toggleMoreLessBlogger(this, '82-0',' more.. ',' less.. '); return false;} else {document.getElementById('content-82-0').style.display='';}"&gt; more.. &lt;/span&gt;&lt;/p&gt; &lt;div id="content-82-0" class="moreless_content"&gt;&amp;nbsp;&lt;div&gt;package hufs.Database;&lt;/div&gt;&lt;div&gt;/**&lt;/div&gt;&lt;div&gt;&amp;nbsp;* 데이터베이스 접속 클래스&lt;/div&gt;&lt;div&gt;&amp;nbsp;*&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;*/&lt;/div&gt;&lt;div&gt;import java.sql.Connection;&lt;/div&gt;&lt;div&gt;import java.sql.DriverManager;&lt;/div&gt;&lt;div&gt;import java.sql.PreparedStatement;&lt;/div&gt;&lt;div&gt;import java.sql.ResultSet;&lt;/div&gt;&lt;div&gt;import java.sql.SQLException;&lt;/div&gt;&lt;div&gt;import java.util.Properties;&lt;/div&gt;&lt;div&gt;public class DatabaseConn { // DB 커넥션초기화&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;private String DB_URL = "Jdbc:Odbc:info";&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;private String DB_USER = "root";&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;private String DB_PASSWORD = "12345";&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Connection conn = null;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;public Connection getConnection() { // DB 커넥션 얻음&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;try {&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;} catch (ClassNotFoundException e1) {&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;e1.printStackTrace();&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;try {&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Properties props = new Properties();&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;props.put("charSet", "8859_1");&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;props.put("user", DB_USER);&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;props.put("password", DB_PASSWORD);&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;conn = DriverManager.getConnection(DB_URL, props);&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;} catch (SQLException e) {&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;e.printStackTrace();&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;return conn;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;public void disConnection(ResultSet rs, PreparedStatement psmt,&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Connection conn) { // DB 접속 해제&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;try {&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;rs.close();&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;psmt.close();&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;conn.close();&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;} catch (Exception e) {&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;}&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Login.java&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="padding:10px;background-color:#D0FF9D"&gt;&lt;p id="more-82-1" class="moreless_fold" style="color:#000000;padding:0 0 0 10px"&gt;&lt;span style="cursor:pointer" onclick="if (window.TC$PRIV_toggleMoreLessBlogger != undefined) {TC$PRIV_toggleMoreLessBlogger(this, '82-1',' more.. ',' less.. '); return false;} else {document.getElementById('content-82-1').style.display='';}"&gt; more.. &lt;/span&gt;&lt;/p&gt; &lt;div id="content-82-1" class="moreless_content"&gt;&amp;nbsp;&lt;div&gt;package hufs.Database;&lt;/div&gt;&lt;div&gt;/*&lt;/div&gt;&lt;div&gt;&amp;nbsp;* 로그인 인증 클래스&lt;/div&gt;&lt;div&gt;&amp;nbsp;*/&lt;/div&gt;&lt;div&gt;import java.sql.Connection;&lt;/div&gt;&lt;div&gt;import java.sql.PreparedStatement;&lt;/div&gt;&lt;div&gt;import java.sql.ResultSet;&lt;/div&gt;&lt;div&gt;public class Login {&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;public Login() {&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;public int login(String user, String passwd) {&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;DatabaseConn dbConn = new DatabaseConn(); // DB 접속&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Connection conn = null;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;PreparedStatement psmt = null;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;ResultSet rs = null;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;String USER = null;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;String PASSWD = null;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;try {&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;String sql = " SELECT USER, PASSWD FROM login where USER='" + user&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;+ "' and PASSWD ='" + passwd + "'"; // 쿼리문&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;conn = dbConn.getConnection();&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;psmt = conn.prepareStatement(sql);&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;rs = psmt.executeQuery(); // 쿼리 실행&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;while (rs.next()) {&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;USER = new String(rs.getString("USER").getBytes("8859_1"),&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;"euc-kr");&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;PASSWD = new String(rs.getString("PASSWD").getBytes("8859_1"),&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;"euc-kr");&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;System.out.println(USER + PASSWD);&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;if (USER == null || PASSWD == null) // 아이디 또는 비밀번호가 일치하지 않을때&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;return -1;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;} catch (Exception e) {&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;System.out.println("SQL ERROR");&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;} finally {&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;dbConn.disConnection(rs, psmt, conn); // DB 접속 해제&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;return 0;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;}&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt; &lt;div style="clear:both"&gt;&lt;/div&gt; &lt;/div&gt; &lt;div class="post-footer"&gt; &lt;div class="post-footer-line post-footer-line-1"&gt; &lt;span class="post-author vcard"&gt; 작성자: &lt;span class="fn" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person"&gt; &lt;meta content="https://www.blogger.com/profile/07752444977949540488" itemprop="url"&gt; &lt;a target="_blank" class="g-profile" href="https://www.blogger.com/profile/07752444977949540488" rel="author" title="author profile"&gt; &lt;span itemprop="name"&gt;ljh8324&lt;/span&gt; &lt;/a&gt; &lt;/span&gt; &lt;/span&gt; &lt;span class="post-timestamp"&gt; 시간: &lt;meta content="http://altibase-textcube.blogspot.com/2008/12/java-%EC%97%91%EC%84%B8%EC%8A%A4-%EC%97%B0%EB%8F%99.html" itemprop="url"&gt; &lt;a target="_blank" class="timestamp-link" href="http://altibase-textcube.blogspot.com/2008/12/java-%EC%97%91%EC%84%B8%EC%8A%A4-%EC%97%B0%EB%8F%99.html" rel="bookmark" title="permanent link"&gt;&lt;abbr class="published" itemprop="datePublished" title="2008-12-10T22:33:00+09:00"&gt;오후 10:33&lt;/abbr&gt;&lt;/a&gt; &lt;/span&gt; &lt;span class="post-comment-link"&gt; &lt;a target="_blank" class="comment-link" href="http://altibase-textcube.blogspot.com/2008/12/java-%EC%97%91%EC%84%B8%EC%8A%A4-%EC%97%B0%EB%8F%99.html#comment-form" onclick=""&gt; 댓글 없음: &lt;/a&gt; &lt;/span&gt; &lt;span class="post-icons"&gt; &lt;span class="item-control blog-admin pid-492342947"&gt; &lt;a target="_blank" href="https://www.blogger.com/post-edit.g?blogID=4334402945261160562&amp;postID=2575149607478930134&amp;from=pencil" title="게시물 수정"&gt; &lt;img alt="" class="icon-action" height="18" src="https://resources.blogblog.com/img/icon18_edit_allbkg.gif" width="18"&gt; &lt;/a&gt; &lt;/span&gt; &lt;/span&gt; &lt;div class="post-share-buttons goog-inline-block"&gt; &lt;a class="goog-inline-block share-button sb-email" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&amp;postID=2575149607478930134&amp;target=email" target="_blank" title="이메일로 전송"&gt;&lt;span class="share-button-link-text"&gt;이메일로 전송&lt;/span&gt;&lt;/a&gt;&lt;a class="goog-inline-block share-button sb-blog" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&amp;postID=2575149607478930134&amp;target=blog" onclick="window.open(this.href, &amp;quot;_blank&amp;quot;, &amp;quot;height=270,width=475&amp;quot;); return false;" target="_blank" title="BlogThis!"&gt;&lt;span class="share-button-link-text"&gt;BlogThis!&lt;/span&gt;&lt;/a&gt;&lt;a class="goog-inline-block share-button sb-twitter" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&amp;postID=2575149607478930134&amp;target=twitter" target="_blank" title="Twitter에서 공유"&gt;&lt;span class="share-button-link-text"&gt;Twitter에서 공유&lt;/span&gt;&lt;/a&gt;&lt;a class="goog-inline-block share-button sb-facebook" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&amp;postID=2575149607478930134&amp;target=facebook" onclick="window.open(this.href, &amp;quot;_blank&amp;quot;, &amp;quot;height=430,width=640&amp;quot;); return false;" target="_blank" title="Facebook에서 공유"&gt;&lt;span class="share-button-link-text"&gt;Facebook에서 공유&lt;/span&gt;&lt;/a&gt;&lt;a class="goog-inline-block share-button sb-pinterest" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&amp;postID=2575149607478930134&amp;target=pinterest" target="_blank" title="Pinterest에 공유"&gt;&lt;span class="share-button-link-text"&gt;Pinterest에 공유&lt;/span&gt;&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="post-footer-line post-footer-line-2"&gt; &lt;span class="post-labels"&gt; 라벨: &lt;a target="_blank" href="http://altibase-textcube.blogspot.com/search/label/%3D%3D%3D%3D%20JAVA%20%3D%3D%3D%3D" rel="tag"&gt;==== JAVA ====&lt;/a&gt; &lt;/span&gt; &lt;/div&gt; &lt;div class="post-footer-line post-footer-line-3"&gt; &lt;span class="post-location"&gt; &lt;/span&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt;&lt;/div&gt; &lt;div class="date-outer"&gt; &lt;h2 class="date-header"&gt;&lt;span&gt;2008년 12월 9일 화요일&lt;/span&gt;&lt;/h2&gt; &lt;div class="date-posts"&gt; &lt;div class="post-outer"&gt; &lt;div class="post hentry uncustomized-post-template" itemprop="blogPost" itemscope="itemscope" itemtype="http://schema.org/BlogPosting"&gt; &lt;meta content="http://ss.textcube.com/blog/7/72701/attach/XUX8O6Thbj.jpg" itemprop="image_url"&gt; &lt;meta content="4334402945261160562" itemprop="blogId"&gt; &lt;meta content="3007291652206670711" itemprop="postId"&gt; &lt;a name="3007291652206670711"&gt;&lt;/a&gt; &lt;h3 class="post-title entry-title" itemprop="name"&gt; &lt;a target="_blank" href="http://altibase-textcube.blogspot.com/2008/12/java-fx-sdk-jmcjar-%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0-jmedia.html"&gt;JAVA FX SDK jmc.jar 사용하기 (JMedia)&lt;/a&gt; &lt;/h3&gt; &lt;div class="post-header"&gt; &lt;div class="post-header-line-1"&gt;&lt;/div&gt; &lt;/div&gt; &lt;div class="post-body entry-content" id="post-body-3007291652206670711" itemprop="description articleBody"&gt; &lt;script src="http://ss.textcube.com/service/blog/script/blogger.js" type="text/javascript"&gt; <p class="바탕글"><span style="FONT-WEIGHT:bold;FONT-SIZE:15px;FONT-FAMILY:굴림">일단 JMF 의 단절된 확장성에 많이 실망하던차에 나름 쓸만한 SDK 를 찾았다.</span></p> <p class="바탕글"><span style="FONT-WEIGHT:bold;FONT-SIZE:15px;FONT-FAMILY:굴림">활성화 되지는 않은것 같지만 꽤 쓸모 있고, 유용하게 사용할수 있을듯 싶다.</span></p> <p class="바탕글"><span style="FONT-WEIGHT:bold;FONT-SIZE:15px;FONT-FAMILY:굴림"><br></span></p> <p class="바탕글"><span style="FONT-WEIGHT:bold;FONT-SIZE:15px;FONT-FAMILY:굴림">- 설치 방법(JAVA 에서 jmc.jar 만 사용시) - </span></p> <p class="바탕글"><span lang="EN-US" style="FONT-WEIGHT:bold;FONT-SIZE:11pt;FONT-FAMILY:굴림;mso-hansi-font-family:굴림;mso-fareast-font-family:굴림">1. </span><a target="_blank" href="http://www.javafx.com/"><u style="text-underline:#000000 single"><span lang="EN-US" style="FONT-WEIGHT:bold;FONT-SIZE:11pt;COLOR:#0000ff;FONT-FAMILY:굴림;mso-hansi-font-family:굴림;mso-fareast-font-family:굴림">http://www.javafx.com/</span></u></a><span lang="EN-US" style="FONT-WEIGHT:bold;FONT-SIZE:11pt;FONT-FAMILY:굴림;mso-hansi-font-family:굴림;mso-fareast-font-family:굴림"> 에서 JAVAFX 1.0 SDK를 다운 받는다.</span></p><span style="FONT-WEIGHT:bold;FONT-SIZE:11pt;FONT-FAMILY:굴림;mso-hansi-font-family:굴림;mso-ascii-font-family:굴림"> <p class="바탕글" style="TEXT-ALIGN:center"><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"></v:path><o:lock v:ext="edit" aspectratio="t"></o:lock></v:shapetype><v:shape id="_x82210120" style="WIDTH:270pt;HEIGHT:213pt;v-text-anchor:top" type="#_x0000_t75"><v:imagedata o:title="EMB0000053c7c6d"></v:imagedata><w:wrap type="topAndBottom"></w:wrap></v:shape></p><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"></v:path><o:lock v:ext="edit" aspectratio="t"></o:lock></v:shapetype><v:shape id="_x82300008" style="WIDTH:275.4pt;HEIGHT:326.1pt;v-text-anchor:top" type="#_x0000_t75"><v:imagedata o:title="EMB0000053c7c6e"></v:imagedata><w:wrap type="topAndBottom"> <p class="바탕글"><span lang="EN-US" style="FONT-WEIGHT:bold;FONT-SIZE:11pt;FONT-FAMILY:굴림;mso-hansi-font-family:굴림;mso-fareast-font-family:굴림">2.</span><span lang="EN-US" style="FONT-SIZE:11pt;FONT-FAMILY:굴림;mso-hansi-font-family:굴림;mso-fareast-font-family:굴림"> Program Files\JavaFX\javafx-sdk1.0\lib\desktop에서</span></p> <p class="바탕글"><span lang="EN-US" style="FONT-SIZE:11pt;FONT-FAMILY:굴림;mso-hansi-font-family:굴림;mso-fareast-font-family:굴림">jmc.jar / jmc.dll을 Program Files\Java\jre1.6.0_07\lib\ext 에 옮긴다.<div class="imageblock dual center" style="text-align:center;clear:both"><table cellspacing="5" cellpadding="0" border="0" style="margin:0 auto"><tr><td><img alt="사용자 삽입 이미지" onclick="TC$PRIV_open_img('http://ss.textcube.com/blog/7/72701/attach/XUX8O6Thbj.jpg')" src="http://ss.textcube.com/blog/7/72701/attach/XUX8O6Thbj.jpg" style="width:320px;height:125px"></td><td><img alt="사용자 삽입 이미지" onclick="TC$PRIV_open_img('http://ss.textcube.com/blog/7/72701/attach/XG8bAtTQgy.jpg')" src="http://ss.textcube.com/blog/7/72701/attach/XG8bAtTQgy.jpg" style="width:320px;height:156px"></td></tr></table></div></span></p> <p class="바탕글">- JMedia 클래스 </p> <p class="바탕글"></p><div class="imageblock dual center" style="text-align:center;clear:both"><table cellspacing="5" cellpadding="0" border="0" style="margin:0 auto"><tr><td><img alt="사용자 삽입 이미지" onclick="TC$PRIV_open_img('http://ss.textcube.com/blog/7/72701/attach/XJX3HBxLis.jpg')" src="http://ss.textcube.com/blog/7/72701/attach/XJX3HBxLis.jpg" style="width:320px;height:337px"></td><td><img alt="사용자 삽입 이미지" onclick="TC$PRIV_open_img('http://ss.textcube.com/blog/7/72701/attach/XHVsp9G4gd.jpg')" src="http://ss.textcube.com/blog/7/72701/attach/XHVsp9G4gd.jpg" style="width:320px;height:254px"></td></tr></table></div><div class="imageblock center" style="text-align:center;clear:both"><img alt="사용자 삽입 이미지" src="http://ss.textcube.com/blog/7/72701/attach/XYmrBzBaV7.jpg" style="width:606px;height:644px"></div>&nbsp;&nbsp; - jmc.jar <span style="FONT-WEIGHT:normal;FONT-SIZE:12px;LINE-HEIGHT:15px;FONT-FAMILY:'Lucida Grande';WHITE-SPACE:pre"><span style="COLOR:rgb(255,0,0)"><span style="FONT-WEIGHT:bold">JMediaPane</span></span> 클래스를 이용한 노래방 구현... 이틀만에 만들었지만 제법 쓸만하다.</span><p></p></w:wrap></v:shape></span> <div style="clear:both"></div> </div> <div class="post-footer"> <div class="post-footer-line post-footer-line-1"> <span class="post-author vcard"> 작성자: <span class="fn" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person"> <meta content="https://www.blogger.com/profile/07752444977949540488" itemprop="url"> <a target="_blank" class="g-profile" href="https://www.blogger.com/profile/07752444977949540488" rel="author" title="author profile"> <span itemprop="name">ljh8324</span> </a> </span> </span> <span class="post-timestamp"> 시간: <meta content="http://altibase-textcube.blogspot.com/2008/12/java-fx-sdk-jmcjar-%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0-jmedia.html" itemprop="url"> <a target="_blank" class="timestamp-link" href="http://altibase-textcube.blogspot.com/2008/12/java-fx-sdk-jmcjar-%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0-jmedia.html" rel="bookmark" title="permanent link"><abbr class="published" itemprop="datePublished" title="2008-12-09T00:37:00+09:00">오전 12:37</abbr></a> </span> <span class="post-comment-link"> <a target="_blank" class="comment-link" href="http://altibase-textcube.blogspot.com/2008/12/java-fx-sdk-jmcjar-%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0-jmedia.html#comment-form" onclick=""> 댓글 없음: </a> </span> <span class="post-icons"> <span class="item-control blog-admin pid-492342947"> <a target="_blank" href="https://www.blogger.com/post-edit.g?blogID=4334402945261160562&postID=3007291652206670711&from=pencil" title="게시물 수정"> <img alt="" class="icon-action" height="18" src="https://resources.blogblog.com/img/icon18_edit_allbkg.gif" width="18"> </a> </span> </span> <div class="post-share-buttons goog-inline-block"> <a class="goog-inline-block share-button sb-email" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=3007291652206670711&target=email" target="_blank" title="이메일로 전송"><span class="share-button-link-text">이메일로 전송</span></a><a class="goog-inline-block share-button sb-blog" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=3007291652206670711&target=blog" onclick="window.open(this.href, &quot;_blank&quot;, &quot;height=270,width=475&quot;); return false;" target="_blank" title="BlogThis!"><span class="share-button-link-text">BlogThis!</span></a><a class="goog-inline-block share-button sb-twitter" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=3007291652206670711&target=twitter" target="_blank" title="Twitter에서 공유"><span class="share-button-link-text">Twitter에서 공유</span></a><a class="goog-inline-block share-button sb-facebook" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=3007291652206670711&target=facebook" onclick="window.open(this.href, &quot;_blank&quot;, &quot;height=430,width=640&quot;); return false;" target="_blank" title="Facebook에서 공유"><span class="share-button-link-text">Facebook에서 공유</span></a><a class="goog-inline-block share-button sb-pinterest" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=3007291652206670711&target=pinterest" target="_blank" title="Pinterest에 공유"><span class="share-button-link-text">Pinterest에 공유</span></a> </div> </div> <div class="post-footer-line post-footer-line-2"> <span class="post-labels"> 라벨: <a target="_blank" href="http://altibase-textcube.blogspot.com/search/label/%3D%3D%3D%3D%20JAVA%20%3D%3D%3D%3D" rel="tag">==== JAVA ====</a>, <a target="_blank" href="http://altibase-textcube.blogspot.com/search/label/JavaFX" rel="tag">JavaFX</a>, <a target="_blank" href="http://altibase-textcube.blogspot.com/search/label/jmc.jar" rel="tag">jmc.jar</a> </span> </div> <div class="post-footer-line post-footer-line-3"> <span class="post-location"> </span> </div> </div> </div> </div> </div></div> <div class="date-outer"> <h2 class="date-header"><span>2008년 12월 2일 화요일</span></h2> <div class="date-posts"> <div class="post-outer"> <div class="post hentry uncustomized-post-template" itemprop="blogPost" itemscope="itemscope" itemtype="http://schema.org/BlogPosting"> <meta content="http://www.superuser.co.kr/home/review_sw/lftp_html_1b70e1cc.png" itemprop="image_url"> <meta content="4334402945261160562" itemprop="blogId"> <meta content="8417205197017335968" itemprop="postId"> <a name="8417205197017335968"></a> <h3 class="post-title entry-title" itemprop="name"> <a target="_blank" href="http://altibase-textcube.blogspot.com/2008/12/lftp-%EC%82%AC%EC%9A%A9%EB%B2%95-%ED%8E%8C.html">lftp 사용법 [펌]</a> </h3> <div class="post-header"> <div class="post-header-line-1"></div> </div> <div class="post-body entry-content" id="post-body-8417205197017335968" itemprop="description articleBody"> <span class="Apple-style-span" style="WORD-SPACING:0px;FONT:12px 굴림;TEXT-TRANSFORM:none;COLOR:rgb(34,34,34);TEXT-INDENT:0px;WHITE-SPACE:normal;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0"> <table cellpadding="5" width="100%"> <tbody> <tr> <td class="lh" style="FONT-SIZE:12px;COLOR:rgb(34,34,34);WORD-BREAK:break-all;LINE-HEIGHT:150%;FONT-FAMILY:굴림" height="100"> <p style="MARGIN-TOP:0px;FONT-SIZE:12px;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:굴림;TEXT-ALIGN:justify;orphans:0;widows:0"><span class="content" style="FONT-WEIGHT:normal;FONT-SIZE:12pt;COLOR:rgb(64,64,64);FONT-STYLE:normal;FONT-FAMILY:'Courier 10 Pitch BT','Courier 10 Pitch',monospace"><font size="2">O 커맨드 라인 인터페이스 기반의 강력한 ftp 클라이언트 - ftp, http, fish, sftp, https, ftps 의 다양한 프로토콜을 지원 - lftp의 모든 명령어는 신뢰성있다. - 심각한 에러에 대한 예외 처리가 잘 되어 있고 실패했을시 자동으로 다시 시도한다. - 만약 ftp서버가 REST명령어를 지원하지 않더라도 lftp는 성공적으로 전송을 끝내기 위해 재시도 한다. - 백그라운드 모드를 지원한다. [/summary] </font> <div type="HEADER"> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><br></font></p></div> <table> <tbody> <tr> <td style="FONT-SIZE:12px;COLOR:rgb(34,34,34);FONT-FAMILY:굴림"> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><font face="Baekmuk Headline">프로그램<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Headline">: lftp ( ftp client )</font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><font face="Baekmuk Headline">파일 이름<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Headline">: lftp-3.2.1.tar.gz (1648 kB)</font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><font face="Baekmuk Headline">운영체제<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Headline">: POSIX<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Headline">호환 유닉스</font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><font face="Baekmuk Headline">라이센스<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Headline">: GPL</font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><font face="Baekmuk Headline">홈페이지<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Headline">: http://lftp.yar.ru/</font></font></p></td> <td style="FONT-SIZE:12px;COLOR:rgb(34,34,34);FONT-FAMILY:굴림"> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><img align="left" border="0" height="151" name="target_resize_image[]" onclick="image_window2(this)" src="http://www.superuser.co.kr/home/review_sw/lftp_html_1b70e1cc.png" style="MARGIN:0px 0px 7px;VERTICAL-ALIGN:top;CURSOR:pointer;DIRECTION:ltr;TEXT-ALIGN:right" tmp_height="0" tmp_width="0" width="200"><br></font></p></td></tr></tbody></table></span> </p><p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><br></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><br></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><font face="Gulim">지금부터 소개할 유틸리티는 커맨드 라인 인터페이스 기반의 강력한<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">ftp<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">클라이언트인<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">lftp<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">이다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.</font></font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><font face="Gulim">예전에는<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">ncftp</font></font><font face="Gulim">를 많이 사용하여 리눅스에서 기본 제공하는엣<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">ftp<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">클라이언트보다 더 쉽게 파일을 주고 받을 수 있었다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">많이 알려진<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">ncftp<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">보다 강력한 기능을 가진<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">lftp</font></font><font face="Gulim">를<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">Redhat 7.2<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">버전 부터 포함하기 시작했으며</font><font face="Baekmuk Dotum, serif"><font face="Gulim">, Redhat 8.0</font></font><font face="Gulim">부터는<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">ncftp<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">를 선택으로<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">lftp</font></font><font face="Gulim">를 기본으로 설치되게 하였다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">그리고 최근에 나온<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">Fedora Core 4</font></font><font face="Gulim">에서는<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">ncftp</font></font><font face="Gulim">패키지를 배포판에 포함하지 않았다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">현재<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">3.2.1</font></font><font face="Gulim">버전 까지 나왔으며</font><font face="Baekmuk Dotum, serif"><font face="Gulim">, 3.0<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">대는 커다란 변화가 있었다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">. lftp</font></font><font face="Gulim">는<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">ftp, http, fish, sftp, https, ftps<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">의 다양한 프로토콜을 지원한다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">. lftp</font></font><font face="Gulim">의 모든 명령어는 신뢰성있다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">심각한 에러에 대한 예외 처리가 잘 되어 있고 실패했을시 자동으로 다시 시도한다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">그래서 다운로드가 중지되더라도 자동으로 재 시작한다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">만약<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">ftp</font></font><font face="Gulim">서버가<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">REST</font></font><font face="Gulim">명령어를 지원하지 않더라도<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">lftp</font></font><font face="Gulim">는 성공적으로 전송을 끝내기 위해 재시도 한다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">이 기능은 자주 변하는 유동<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">IP</font></font><font face="Gulim">뿐만 아니라 불안정한 라인에서도 좋은 효과를 볼 수 있다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.</font></font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><font face="Gulim">그럼 이<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">lftp</font></font><font face="Gulim">를 어떻게 설치하는지 그리고</font><font face="Baekmuk Dotum, serif"><font face="Gulim">,<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">어떤점이 좋은지에 대해서 알아보도록 하자</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">설치는 여러가지 방법이 있지만</font><font face="Baekmuk Dotum, serif"><font face="Gulim">,<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">가장 일반적이고 배포판에 제약을 받지않는 컴파일 설치를 해 보도록 하겠다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">물론 바이너리 버전도 있으니 사용하고 있는 배포판과 동일한 바이너리 버전을<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">rpm</font></font><font face="Gulim">등의 패키지 매니저로 설치면 된다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">먼저<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">lftp.yar.ru<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">사이트에 접속한 다음<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">lftp-3.2.1.tar.gz<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">파일을 다운로드 하 여 압축을 해제한다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">. configure<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">스크립트로 환경설정한 다음</font><font face="Baekmuk Dotum, serif"><font face="Gulim">, make<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">명령으로 컴파일 하며</font><font face="Baekmuk Dotum, serif"><font face="Gulim">, make install<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">로 설치하면 끝난다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">기본 설치 디렉토리는<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">/usr/local</font></font><font face="Gulim">아래이다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.</font></font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><img align="left" border="0" height="313" name="target_resize_image[]" onclick="image_window2(this)" src="http://www.superuser.co.kr/home/review_sw/lftp_html_m5fec352d.png" style="MARGIN:0px 0px 7px;VERTICAL-ALIGN:top;CURSOR:pointer;DIRECTION:ltr;TEXT-ALIGN:right" tmp_height="0" tmp_width="0" width="549"><br clear="left"><font face="Baekmuk Headline">tar xvfz lftp-3.2.1.tar.gz</font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font face="Baekmuk Headline" size="2">cd lftp-3.2.1</font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font face="Baekmuk Headline" size="2">./configure &amp;&amp; make &amp;&amp; make install</font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><br></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><font face="Gulim">다음그림은<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">lftp</font></font><font face="Gulim">를 사용하여</font><font face="Baekmuk Dotum, serif"><font face="Gulim">, help<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">페이지를 보았다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.</font></font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><img align="left" border="0" height="280" name="target_resize_image[]" onclick="image_window2(this)" src="http://www.superuser.co.kr/home/review_sw/lftp_html_m5d1e99b3.png" style="MARGIN:0px 0px 7px;VERTICAL-ALIGN:top;CURSOR:pointer;DIRECTION:ltr;TEXT-ALIGN:right" tmp_height="0" tmp_width="0" width="494"><br clear="left"><font face="Gulim">일반적인<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">ftp</font></font><font face="Gulim">클라이언트에서는 보이지 않는것들이 여럿 보인다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">가장 대표적인 몇가지를 보도록 하자</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.</font></font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><font face="Baekmuk Dotum, serif"><font face="Gulim">du</font></font><font face="Gulim">명령어를 사용하여 전체의 용량을 알아볼 수 있다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.</font></font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><img align="bottom" border="0" height="85" name="target_resize_image[]" onclick="image_window2(this)" src="http://www.superuser.co.kr/home/review_sw/lftp_html_774fd60e.png" style="MARGIN:0px 0px 7px;VERTICAL-ALIGN:top;CURSOR:pointer;DIRECTION:ltr;TEXT-ALIGN:right" tmp_height="0" tmp_width="0" width="305"><span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim"><br></font></font><font size="2"><font face="Gulim">멋진기능중의 하나인<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">mirror</font></font><font face="Gulim">기능을 지원한다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">. mirror<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">명령을 이용하여 파일을 다운로드 받거나 업데이트가 가능하며</font><font face="Baekmuk Dotum, serif"><font face="Gulim">,<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">또한 원격서버로 업로드 하거나 업데이트 가능하다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">( -R<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">옵션이용</font><font face="Baekmuk Dotum, serif"><font face="Gulim">).<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">다음그림은 다양한 옵션들을 보여주고 있다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.<img align="bottom" border="0" height="142" name="target_resize_image[]" onclick="image_window2(this)" src="http://www.superuser.co.kr/home/review_sw/lftp_html_6ee2834c.png" style="MARGIN:0px 0px 7px;VERTICAL-ALIGN:top;CURSOR:pointer;DIRECTION:ltr;TEXT-ALIGN:right" tmp_height="0" tmp_width="0" width="413"></font></font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><img align="bottom" border="0" height="351" name="target_resize_image[]" onclick="image_window2(this)" src="http://www.superuser.co.kr/home/review_sw/lftp_html_3e7f0d3d.png" style="MARGIN:0px 0px 7px;VERTICAL-ALIGN:top;CURSOR:pointer;DIRECTION:ltr;TEXT-ALIGN:right" tmp_height="0" tmp_width="0" width="531"></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><font face="Baekmuk Dotum, serif"><font face="Gulim">gzip</font></font><font face="Gulim">으로 압축된 파일을 전송하지 않고 볼 수 있는<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">zcat<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">과<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">zmore<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">명령어를 지원한다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.</font></font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><img align="left" border="0" height="106" name="target_resize_image[]" onclick="image_window2(this)" src="http://www.superuser.co.kr/home/review_sw/lftp_html_68e927f3.png" style="MARGIN:0px 0px 7px;VERTICAL-ALIGN:top;CURSOR:pointer;DIRECTION:ltr;TEXT-ALIGN:right" tmp_height="0" tmp_width="0" width="527"><br clear="left"><font face="Gulim">위와같이<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">sftp</font></font><font face="Gulim">프로토콜을 이용하여 보안 접속을 하였다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">. lftp</font></font><font face="Gulim">는 이런 보안 프로토콜을 제공하기 때문에 더욱 다양한 환경에서 파일전송을 쉽게 할 수 있다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.</font></font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><img align="left" border="0" height="106" name="target_resize_image[]" onclick="image_window2(this)" src="http://www.superuser.co.kr/home/review_sw/lftp_html_388b86e9.png" style="MARGIN:0px 0px 7px;VERTICAL-ALIGN:top;CURSOR:pointer;DIRECTION:ltr;TEXT-ALIGN:right" tmp_height="0" tmp_width="0" width="509"><br clear="left"><font face="Baekmuk Dotum, serif"><font face="Gulim">lftp</font></font><font face="Gulim">는<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">http</font></font><font face="Gulim">를 지원한다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">자체 파서로 링크를 분석하여 디렉토리 구조로 나타낸다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">그래서 웹<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">base ftp<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">서버에 쉽게 접근하여 원하는 자료를 다운 받을 수 있는 강력한 기능을 내장하고 있다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.</font></font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><img align="left" border="0" height="164" name="target_resize_image[]" onclick="image_window2(this)" src="http://www.superuser.co.kr/home/review_sw/lftp_html_336452ec.png" style="MARGIN:0px 0px 7px;VERTICAL-ALIGN:top;CURSOR:pointer;DIRECTION:ltr;TEXT-ALIGN:right" tmp_height="0" tmp_width="0" width="567"><br clear="left"><font face="Gulim">만약 모든 작업이 끝나지 않은 상태에서<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">lftp</font></font><font face="Gulim">를 정지해야 한다면</font><font face="Baekmuk Dotum, serif"><font face="Gulim">,<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">작업 내용을을 백그라운드로 돌릴 수 있다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.</font></font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><font face="Baekmuk Dotum, serif"><font face="Gulim">lftp</font></font><font face="Gulim">는 쉘과 비슷한 명령어 문법을 제공한다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">. background(&amp;), ()<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">묶여진 명령어 그룹</font><font face="Baekmuk Dotum, serif"><font face="Gulim">,<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">하던 작업을 백그라운드로 돌리고 싶으면<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">Ctrl+z</font></font><font face="Gulim">키를 누르고</font><font face="Baekmuk Dotum, serif"><font face="Gulim">,<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">다시<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">wait</font></font><font face="Gulim">명령어로 포그라운드로 돌릴 수 있다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">돌고 있는 작업들을 보려면<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">jobs</font></font><font face="Gulim">명령으로 볼 수 있다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">어떤 명령어</font><font face="Baekmuk Dotum, serif"><font face="Gulim">(cat, ls ...)</font></font><font face="Gulim">는 리다이렉트를 지원한다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">그리고 이런 명령어들은 논리연산자</font><font face="Baekmuk Dotum, serif"><font face="Gulim">(&amp;&amp;, ||)</font></font><font face="Gulim">등을 사용할 수 있다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.</font></font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><font face="Gulim">예</font><font face="Baekmuk Dotum, serif"><font face="Gulim">:</font></font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font face="Baekmuk Headline" size="2">lftp&gt; cat file | gzip &gt; file.gz</font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font face="Baekmuk Headline" size="2">lftp&gt; get file &amp;</font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font face="Baekmuk Headline" size="2">lftp&gt; (cd /path &amp;&amp; get file) &amp;</font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><br></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><font face="Gulim">첫번째 명령어는<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">file</font></font><font face="Gulim">내용을 리다이렉트를 이용하여<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">gzip</font></font><font face="Gulim">으로 압축하여<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">file.gz</font></font><font face="Gulim">으로 저장하는 방법을 보여주는 것이며</font><font face="Baekmuk Dotum, serif"><font face="Gulim">,<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">다음 라인은 백그라운드 모드로<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">file</font></font><font face="Gulim">을 내려 받는 것을 보여 주며</font><font face="Baekmuk Dotum, serif"><font face="Gulim">,<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">마지막 라인은 명령어들을 묶고</font><font face="Baekmuk Dotum, serif"><font face="Gulim">, &amp;&amp;<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">조건 연산을 사용하여 백그라운드 모드로 돌리는 것을 보여준다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.</font></font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><font face="Baekmuk Dotum, serif"><font face="Gulim">at<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">명령어를 사용하여 정해진 시간에 작업을 실행할수도 있며</font><font face="Baekmuk Dotum, serif"><font face="Gulim">, queue</font></font><font face="Gulim">명령어를 사용하여 명령어를 차례대로 실행시킬수 있다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">물론 진행상황을 보려면<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">jobs</font></font><font face="Gulim">명령으로 가능하다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.</font></font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><font face="Baekmuk Dotum, serif"><font face="Gulim">lftp</font></font><font face="Gulim">는<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">ipv6</font></font><font face="Gulim">를 지원한다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">물론<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">ftp proxy , http proxy<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">등 라우레벨 까지 지원한다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.</font></font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><font face="Baekmuk Dotum, serif"><font face="Gulim">lftp</font></font><font face="Gulim">는<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">ssl<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">지원가능하게 컴파일되었다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.</font></font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><font face="Baekmuk Dotum, serif"><font face="Gulim">lftp</font></font><font face="Gulim">에대해서 전반적으로 살펴본 결과 다양한 기능을 제공하며</font><font face="Baekmuk Dotum, serif"><font face="Gulim">,<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">기능 들의 안정성또한 뛰어났다</font><font face="Baekmuk Dotum, serif"><font face="Gulim">.</font></font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><br></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><font face="Gulim">참고 문서<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">:<span class="Apple-converted-space">&nbsp;</span></font><font color="#000080"><u><a target="_blank" style="COLOR:rgb(58,78,64);TEXT-DECORATION:none" href="http://lftp.yar.ru/desc.html"><font face="Gulim">http://lftp.yar.ru/desc.html</font></a></u></font></font></font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font face="Gulim" size="2">test base : Fedora Core 4</font></p> <p class="cjk" lang="ko-KR" style="MARGIN-TOP:0px;FONT-SIZE:12pt;MARGIN-BOTTOM:0.21cm;COLOR:rgb(0,0,0);DIRECTION:ltr;TEXT-INDENT:0px;LINE-HEIGHT:160%;MARGIN-RIGHT:0px;FONT-FAMILY:'Baekmuk Dotum';TEXT-ALIGN:justify;orphans:0;widows:0"><font size="2"><font face="Gulim">작성자<span class="Apple-converted-space">&nbsp;</span></font><font face="Baekmuk Dotum, serif"><font face="Gulim">:<span class="Apple-converted-space">&nbsp;</span></font></font><font face="Gulim">수퍼유저코리아 정우영</font><font face="Baekmuk Dotum, serif"><font face="Gulim">(doly</font></font><font face="Gulim">엣</font><font face="Baekmuk Dotum, serif"><font face="Gulim">superuser.co.kr)</font></font></font></p></td></tr></tbody></table></span> <div style="clear:both"></div> </div> <div class="post-footer"> <div class="post-footer-line post-footer-line-1"> <span class="post-author vcard"> 작성자: <span class="fn" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person"> <meta content="https://www.blogger.com/profile/07752444977949540488" itemprop="url"> <a target="_blank" class="g-profile" href="https://www.blogger.com/profile/07752444977949540488" rel="author" title="author profile"> <span itemprop="name">ljh8324</span> </a> </span> </span> <span class="post-timestamp"> 시간: <meta content="http://altibase-textcube.blogspot.com/2008/12/lftp-%EC%82%AC%EC%9A%A9%EB%B2%95-%ED%8E%8C.html" itemprop="url"> <a target="_blank" class="timestamp-link" href="http://altibase-textcube.blogspot.com/2008/12/lftp-%EC%82%AC%EC%9A%A9%EB%B2%95-%ED%8E%8C.html" rel="bookmark" title="permanent link"><abbr class="published" itemprop="datePublished" title="2008-12-02T22:16:00+09:00">오후 10:16</abbr></a> </span> <span class="post-comment-link"> <a target="_blank" class="comment-link" href="http://altibase-textcube.blogspot.com/2008/12/lftp-%EC%82%AC%EC%9A%A9%EB%B2%95-%ED%8E%8C.html#comment-form" onclick=""> 댓글 없음: </a> </span> <span class="post-icons"> <span class="item-control blog-admin pid-492342947"> <a target="_blank" href="https://www.blogger.com/post-edit.g?blogID=4334402945261160562&postID=8417205197017335968&from=pencil" title="게시물 수정"> <img alt="" class="icon-action" height="18" src="https://resources.blogblog.com/img/icon18_edit_allbkg.gif" width="18"> </a> </span> </span> <div class="post-share-buttons goog-inline-block"> <a class="goog-inline-block share-button sb-email" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=8417205197017335968&target=email" target="_blank" title="이메일로 전송"><span class="share-button-link-text">이메일로 전송</span></a><a class="goog-inline-block share-button sb-blog" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=8417205197017335968&target=blog" onclick="window.open(this.href, &quot;_blank&quot;, &quot;height=270,width=475&quot;); return false;" target="_blank" title="BlogThis!"><span class="share-button-link-text">BlogThis!</span></a><a class="goog-inline-block share-button sb-twitter" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=8417205197017335968&target=twitter" target="_blank" title="Twitter에서 공유"><span class="share-button-link-text">Twitter에서 공유</span></a><a class="goog-inline-block share-button sb-facebook" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=8417205197017335968&target=facebook" onclick="window.open(this.href, &quot;_blank&quot;, &quot;height=430,width=640&quot;); return false;" target="_blank" title="Facebook에서 공유"><span class="share-button-link-text">Facebook에서 공유</span></a><a class="goog-inline-block share-button sb-pinterest" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=8417205197017335968&target=pinterest" target="_blank" title="Pinterest에 공유"><span class="share-button-link-text">Pinterest에 공유</span></a> </div> </div> <div class="post-footer-line post-footer-line-2"> <span class="post-labels"> 라벨: <a target="_blank" href="http://altibase-textcube.blogspot.com/search/label/%3D%3D%3D%3D%20LINUX%20%3D%3D%3D%3D" rel="tag">==== LINUX ====</a>, <a target="_blank" href="http://altibase-textcube.blogspot.com/search/label/Command" rel="tag">Command</a> </span> </div> <div class="post-footer-line post-footer-line-3"> <span class="post-location"> </span> </div> </div> </div> </div> <div class="post-outer"> <div class="post hentry uncustomized-post-template" itemprop="blogPost" itemscope="itemscope" itemtype="http://schema.org/BlogPosting"> <meta content="4334402945261160562" itemprop="blogId"> <meta content="7860586787613182506" itemprop="postId"> <a name="7860586787613182506"></a> <h3 class="post-title entry-title" itemprop="name"> <a target="_blank" href="http://altibase-textcube.blogspot.com/2008/12/java-calendar-time.html">JAVA Calendar [TIME]</a> </h3> <div class="post-header"> <div class="post-header-line-1"></div> </div> <div class="post-body entry-content" id="post-body-7860586787613182506" itemprop="description articleBody"> <div style="padding:10px;background-color:#C9EDFF"><div>import java.text.DateFormat;<br></div><div>import java.text.SimpleDateFormat;</div><div>import java.util.Calendar;</div><div>import java.util.TimeZone;</div><div><br></div><div>public class getTime {</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>private Calendar calendar;</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>public String gettime() {</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>currenttime();</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>DateFormat df = new SimpleDateFormat("yyMMdd-hhmmss");</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>String sysdate = df.format(calendar.getTime());</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>return sysdate;</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>}</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>public String gettime_textarea() {</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>currenttime();</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>DateFormat df = new SimpleDateFormat("[ yy-MM-dd hh:mm:ss ]");</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>String sysdate = df.format(calendar.getTime());</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>return sysdate;</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>}</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>public void currenttime() {</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>calendar = Calendar.getInstance();</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>TimeZone tz = TimeZone.getTimeZone("GMT+06:00");</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>calendar.setTimeZone(tz);</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>}</div><div><br></div><div>}</div></div><div><br></div> <div style="clear:both"></div> </div> <div class="post-footer"> <div class="post-footer-line post-footer-line-1"> <span class="post-author vcard"> 작성자: <span class="fn" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person"> <meta content="https://www.blogger.com/profile/07752444977949540488" itemprop="url"> <a target="_blank" class="g-profile" href="https://www.blogger.com/profile/07752444977949540488" rel="author" title="author profile"> <span itemprop="name">ljh8324</span> </a> </span> </span> <span class="post-timestamp"> 시간: <meta content="http://altibase-textcube.blogspot.com/2008/12/java-calendar-time.html" itemprop="url"> <a target="_blank" class="timestamp-link" href="http://altibase-textcube.blogspot.com/2008/12/java-calendar-time.html" rel="bookmark" title="permanent link"><abbr class="published" itemprop="datePublished" title="2008-12-02T22:03:00+09:00">오후 10:03</abbr></a> </span> <span class="post-comment-link"> <a target="_blank" class="comment-link" href="http://altibase-textcube.blogspot.com/2008/12/java-calendar-time.html#comment-form" onclick=""> 댓글 없음: </a> </span> <span class="post-icons"> <span class="item-control blog-admin pid-492342947"> <a target="_blank" href="https://www.blogger.com/post-edit.g?blogID=4334402945261160562&postID=7860586787613182506&from=pencil" title="게시물 수정"> <img alt="" class="icon-action" height="18" src="https://resources.blogblog.com/img/icon18_edit_allbkg.gif" width="18"> </a> </span> </span> <div class="post-share-buttons goog-inline-block"> <a class="goog-inline-block share-button sb-email" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=7860586787613182506&target=email" target="_blank" title="이메일로 전송"><span class="share-button-link-text">이메일로 전송</span></a><a class="goog-inline-block share-button sb-blog" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=7860586787613182506&target=blog" onclick="window.open(this.href, &quot;_blank&quot;, &quot;height=270,width=475&quot;); return false;" target="_blank" title="BlogThis!"><span class="share-button-link-text">BlogThis!</span></a><a class="goog-inline-block share-button sb-twitter" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=7860586787613182506&target=twitter" target="_blank" title="Twitter에서 공유"><span class="share-button-link-text">Twitter에서 공유</span></a><a class="goog-inline-block share-button sb-facebook" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=7860586787613182506&target=facebook" onclick="window.open(this.href, &quot;_blank&quot;, &quot;height=430,width=640&quot;); return false;" target="_blank" title="Facebook에서 공유"><span class="share-button-link-text">Facebook에서 공유</span></a><a class="goog-inline-block share-button sb-pinterest" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=7860586787613182506&target=pinterest" target="_blank" title="Pinterest에 공유"><span class="share-button-link-text">Pinterest에 공유</span></a> </div> </div> <div class="post-footer-line post-footer-line-2"> <span class="post-labels"> 라벨: <a target="_blank" href="http://altibase-textcube.blogspot.com/search/label/%3D%3D%3D%3D%20JAVA%20%3D%3D%3D%3D" rel="tag">==== JAVA ====</a>, <a target="_blank" href="http://altibase-textcube.blogspot.com/search/label/Calendar" rel="tag">Calendar</a>, <a target="_blank" href="http://altibase-textcube.blogspot.com/search/label/java%20time" rel="tag">java time</a> </span> </div> <div class="post-footer-line post-footer-line-3"> <span class="post-location"> </span> </div> </div> </div> </div> </div></div> <div class="date-outer"> <h2 class="date-header"><span>2008년 11월 25일 화요일</span></h2> <div class="date-posts"> <div class="post-outer"> <div class="post hentry uncustomized-post-template" itemprop="blogPost" itemscope="itemscope" itemtype="http://schema.org/BlogPosting"> <meta content="4334402945261160562" itemprop="blogId"> <meta content="7860991902291745354" itemprop="postId"> <a name="7860991902291745354"></a> <h3 class="post-title entry-title" itemprop="name"> <a target="_blank" href="http://altibase-textcube.blogspot.com/2008/11/cardlayout-%EA%B0%84%EB%8B%A8-%EC%98%88%EC%A0%9C.html">CardLayout 간단 예제</a> </h3> <div class="post-header"> <div class="post-header-line-1"></div> </div> <div class="post-body entry-content" id="post-body-7860991902291745354" itemprop="description articleBody"> <div style="PADDING-RIGHT:10px;PADDING-LEFT:10px;PADDING-BOTTOM:10px;PADDING-TOP:10px;BACKGROUND-COLOR:#c9edff">private CardLayout card;</div> <div style="PADDING-RIGHT:10px;PADDING-LEFT:10px;PADDING-BOTTOM:10px;PADDING-TOP:10px;BACKGROUND-COLOR:#c9edff">card = new CardLayout();<br> <div>&nbsp;</div> <div>JPane jPanel = new JPanel();</div> <div>jPanel.setLayout(card);<br></div> <div> <div>jPanel.add(getControlPanel(), "control");</div> <div>jPanel.add(gettrackPanel(), "track");</div> <div>&nbsp;</div> <div>card.show(jPanel, "control");</div></div></div> <div style="clear:both"></div> </div> <div class="post-footer"> <div class="post-footer-line post-footer-line-1"> <span class="post-author vcard"> 작성자: <span class="fn" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person"> <meta content="https://www.blogger.com/profile/07752444977949540488" itemprop="url"> <a target="_blank" class="g-profile" href="https://www.blogger.com/profile/07752444977949540488" rel="author" title="author profile"> <span itemprop="name">ljh8324</span> </a> </span> </span> <span class="post-timestamp"> 시간: <meta content="http://altibase-textcube.blogspot.com/2008/11/cardlayout-%EA%B0%84%EB%8B%A8-%EC%98%88%EC%A0%9C.html" itemprop="url"> <a target="_blank" class="timestamp-link" href="http://altibase-textcube.blogspot.com/2008/11/cardlayout-%EA%B0%84%EB%8B%A8-%EC%98%88%EC%A0%9C.html" rel="bookmark" title="permanent link"><abbr class="published" itemprop="datePublished" title="2008-11-25T23:49:00+09:00">오후 11:49</abbr></a> </span> <span class="post-comment-link"> <a target="_blank" class="comment-link" href="http://altibase-textcube.blogspot.com/2008/11/cardlayout-%EA%B0%84%EB%8B%A8-%EC%98%88%EC%A0%9C.html#comment-form" onclick=""> 댓글 없음: </a> </span> <span class="post-icons"> <span class="item-control blog-admin pid-492342947"> <a target="_blank" href="https://www.blogger.com/post-edit.g?blogID=4334402945261160562&postID=7860991902291745354&from=pencil" title="게시물 수정"> <img alt="" class="icon-action" height="18" src="https://resources.blogblog.com/img/icon18_edit_allbkg.gif" width="18"> </a> </span> </span> <div class="post-share-buttons goog-inline-block"> <a class="goog-inline-block share-button sb-email" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=7860991902291745354&target=email" target="_blank" title="이메일로 전송"><span class="share-button-link-text">이메일로 전송</span></a><a class="goog-inline-block share-button sb-blog" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=7860991902291745354&target=blog" onclick="window.open(this.href, &quot;_blank&quot;, &quot;height=270,width=475&quot;); return false;" target="_blank" title="BlogThis!"><span class="share-button-link-text">BlogThis!</span></a><a class="goog-inline-block share-button sb-twitter" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=7860991902291745354&target=twitter" target="_blank" title="Twitter에서 공유"><span class="share-button-link-text">Twitter에서 공유</span></a><a class="goog-inline-block share-button sb-facebook" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=7860991902291745354&target=facebook" onclick="window.open(this.href, &quot;_blank&quot;, &quot;height=430,width=640&quot;); return false;" target="_blank" title="Facebook에서 공유"><span class="share-button-link-text">Facebook에서 공유</span></a><a class="goog-inline-block share-button sb-pinterest" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=7860991902291745354&target=pinterest" target="_blank" title="Pinterest에 공유"><span class="share-button-link-text">Pinterest에 공유</span></a> </div> </div> <div class="post-footer-line post-footer-line-2"> <span class="post-labels"> 라벨: <a target="_blank" href="http://altibase-textcube.blogspot.com/search/label/%3D%3D%3D%3D%20JAVA%20%3D%3D%3D%3D" rel="tag">==== JAVA ====</a>, <a target="_blank" href="http://altibase-textcube.blogspot.com/search/label/Layout" rel="tag">Layout</a> </span> </div> <div class="post-footer-line post-footer-line-3"> <span class="post-location"> </span> </div> </div> </div> </div> <div class="post-outer"> <div class="post hentry uncustomized-post-template" itemprop="blogPost" itemscope="itemscope" itemtype="http://schema.org/BlogPosting"> <meta content="4334402945261160562" itemprop="blogId"> <meta content="7024109636769565831" itemprop="postId"> <a name="7024109636769565831"></a> <h3 class="post-title entry-title" itemprop="name"> <a target="_blank" href="http://altibase-textcube.blogspot.com/2008/11/ioctl-%ED%95%A8%EC%88%98.html">ioctl() 함수</a> </h3> <div class="post-header"> <div class="post-header-line-1"></div> </div> <div class="post-body entry-content" id="post-body-7024109636769565831" itemprop="description articleBody"> <span style="font-family:'Lucida Grande';line-height:15px;white-space:pre"><span style="font-family:-webkit-sans-serif;font-size:15px;line-height:22px;white-space:normal"><b>Ioctl</b>&nbsp;인터페이스는 모든 장치 드라이버가 공유하는 하나의 시스템 콜을 할당함으로써 이 문제를 피할 수 있게 도와 준다. 이러한 시스템 콜을 통해 다양한 장치의 특정한 요청의 방향을 바꿀 수 있다. 그러므로 커널은 관리가 불가능한 시스템 콜 테이블을 만들지 않고도 유동적으로 장치에 대한 콜을 처리할 수 있다.</span></span><div><span style="font-family:-webkit-sans-serif;font-size:15px;line-height:22px"><br></span></div><div><span style="font-family:-webkit-sans-serif;font-size:15px;line-height:22px"><span style="line-height:19px"><h3 style="color:black;background-image:none;background-repeat:initial;background-attachment:initial;-webkit-background-clip:initial;-webkit-background-origin:initial;background-color:initial;margin-top:0px;margin-right:0px;margin-left:0px;padding-top:0.5em;padding-bottom:0.17em;border-bottom-style:none;border-bottom-width:initial;border-bottom-color:initial;font-weight:bold;margin-bottom:0.3em"><span class="mw-headline"><span style="font-size:small">유닉스</span></span></h3><p style="margin-top:0.4em;margin-right:0px;margin-bottom:0.5em;margin-left:0px;line-height:1.5em"><span style="font-size:small">유닉스의 ioctl 콜은 다음과 같은&nbsp;</span><a target="_blank" href="http://ko.wikipedia.org/w/index.php?title=%EB%A7%A4%EA%B0%9C_%EB%B3%80%EC%88%98&action=edit&redlink=1" class="new" title="매개 변수 (아직 생성되지 않음)" style="text-decoration:none;background-image:none;background-repeat:initial;background-attachment:initial;-webkit-background-clip:initial;-webkit-background-origin:initial;background-color:initial;color:rgb(204, 34,0);background-position:initial initial"><span style="font-size:small">매개 변수</span></a><span style="font-size:small">를 취한다.</span></p><ol style="line-height:1.5em;margin-top:0.3em;margin-right:0px;margin-bottom:0px;margin-left:3.2em;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;list-style-image:none"><li style="margin-bottom:0.1em"><span style="font-size:small">열려 있는&nbsp;</span><a target="_blank" href="http://ko.wikipedia.org/w/index.php?title=%ED%8C%8C%EC%9D%BC_%EC%84%9C%EC%88%A0%EC%9E%90&action=edit&redlink=1" class="new" title="파일 서술자 (아직 생성되지 않음)" style="text-decoration:none;background-image:none;background-repeat:initial;background-attachment:initial;-webkit-background-clip:initial;-webkit-background-origin:initial;background-color:initial;color:rgb(204,34,0);background-position:initial initial"><span style="font-size:small">파일 서술자</span></a></li><li style="margin-bottom:0.1em"><span style="font-size:small">요청 코드 번호</span></li><li style="margin-bottom:0.1em"><span style="font-size:small">드라이버 서명이 되지 않은 정수값, 또는&nbsp;</span><a target="_blank" href="http://ko.wikipedia.org/wiki/%ED%8F%AC%EC%9D%B8%ED%84%B0_(%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%98%EB%B0%8D)" title="포인터 (프로그래밍)" style="text-decoration:none;color:rgb(0,43,184);background-image:none;background-repeat:initial;background-attachment:initial;-webkit-background-clip:initial;-webkit-background-origin:initial;background-color:initial;background-position:initial initial"><span style="font-size:small">포인터</span></a></li></ol><h3 style="color:black;background-image:none;background-repeat:initial;background-attachment:initial;-webkit-background-clip:initial;-webkit-background-origin:initial;background-color:initial;margin-top:0px;margin-right:0px;margin-left:0px;padding-top:0.5em;padding-bottom:0.17em;border-bottom-style:none;border-bottom-width:initial;border-bottom-color:initial;font-weight:bold;margin-bottom:0.3em"><span class="mw-headline"><span style="font-size:small">Win32</span></span></h3><p style="margin-top:0.4em;margin-right:0px;margin-bottom:0.5em;margin-left:0px;line-height:1.5em"><span style="font-size:small">Win32&nbsp;</span><i><span style="font-size:small">DeviceIoContrl</span></i><span style="font-size:small">은 다음과 같은 매개 변수를 취한다.</span></p><ol style="line-height:1.5em;margin-top:0.3em;margin-right:0px;margin-bottom:0px;margin-left:3.2em;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;list-style-image:none"><li style="margin-bottom:0.1em"><span style="font-size:small">열려 있는 객체 관리 (파일 서술자와 동등)</span></li><li style="margin-bottom:0.1em"><span style="font-size:small">요청 코드 번호 (제어 코드)</span></li><li style="margin-bottom:0.1em"><span style="font-size:small">입력 매개 변수를 위한 버퍼</span></li><li style="margin-bottom:0.1em"><span style="font-size:small">출력 결과를 위한 버퍼</span></li><li style="margin-bottom:0.1em"><span style="font-size:small">OVERLAPPED 구조 (</span><a target="_blank" href="http://ko.wikipedia.org/w/index.php?title=%EC%98%A4%EB%B2%84%EB%9E%A9_%EC%9E%85%EC%B6%9C%EB%A0%A5&action=edit&redlink=1" class="new" title="오버랩 입출력 (아직 생성되지 않음)" style="text-decoration:none;background-image:none;background-repeat:initial;background-attachment:initial;-webkit-background-clip:initial;-webkit-background-origin:initial;background-color:initial;color:rgb(204,34,0);background-position:initial initial"><span style="font-size:small">오버랩 입출력</span></a><span style="font-size:small">이 쓰이는 경우)</span></li></ol><div><span style="font-size:13px;line-height:22px"><br></span></div><div><br></div><div><span style="font-size:13px;line-height:22px"><span style="color:rgb(51,51,51);font-family:Tahoma;font-size:12px;line-height:18px"><div style="padding:10px;background-color:#FFDAED"><h2 style="font-size:16px">이름</h2>ioctl - 장치를 제어한다.&nbsp;<a name="lbAC">&nbsp;</a><h2 style="font-size:16px">사용법</h2><b>#include &lt;<a style="color:rgb(51,51,51);text-decoration:none;font-size:9pt">sys/ioctl.h</a>&gt;</b><p style="font-family:Tahoma,굴림;font-size:9pt;color:rgb(51,51,51)"><b>int ioctl(int&nbsp;</b><i>d</i><b>, int&nbsp;</b><i>request</i><b>, ...)</b></p><p style="font-family:Tahoma,굴림;font-size:9pt;color:rgb(51,51,51)">[세번째 인자는 전통적으로&nbsp;<b>char *</b><i>argp</i>&nbsp;이며, 설명를 위해 그렇게 언급하겠다.]&nbsp;<a name="lbAD">&nbsp;</a></p><h2 style="font-size:16px">설명</h2><b>ioctl</b>&nbsp;함수는 특수 파일의 장치 인자를 조절한다. 특히, 문자 특수 파일(예로 터미널)의 많은 특징적인 동작은&nbsp;<b>ioctl</b>의 요구에 의해 제어된다.&nbsp;<i>d</i>&nbsp;인자는 반드시 열린 파일 기술자이어야 한다.<p style="font-family:Tahoma,굴림;font-size:9pt;color:rgb(51,51,51)">ioctl&nbsp;<i>request</i>는 인자가&nbsp;<i>입력</i>되는 인자인지&nbsp;<i>출력</i>되는 인자인지와&nbsp;<i>argp</i>&nbsp;인자의 바이트 단위의 크기를 나타낸다. ioctl&nbsp;<i>request</i>를 나타내기 사용되는 매크로와 상수는&nbsp;<i>&lt;<a style="color:rgb(51,51,51);text-decoration:none;font-size:9pt">sys/ioctl.h</a>&gt;</i>파일에 정의되어 있다.</p><h2 style="font-size:16px">반환값</h2>성공시, 0이 리턴된다. 에러시, -1이 리턴되며,&nbsp;<i>errno</i>는 적당한 값으로 설정된다.&nbsp;<a name="lbAF">&nbsp;</a></div></span><br></span></div><div><span style="font-size:13px;line-height:22px"><br></span></div><div><span style="font-size:13px;line-height:22px"><span style="font-weight:bold">로지텍 Cam sphere (pan tilt) 직접 제어</span></span></div><div><span style="font-size:13px;font-weight:bold;line-height:22px"><br></span></div><div><span style="font-size:13px;line-height:22px">dev (파일 디스크립터 번호) 와 control_s 구조체 정의 및 값을 설정 해야함 ( 다음 글에 게시 )</span></div><div><span style="font-size:13px;line-height:22px"><div style="padding:10px;background-color:#C9EDFF">ioctl(dev, VIDIOC_S_CTRL,&amp;control_s);</div></span></div></span></span></div> <div style="clear:both"></div> </div> <div class="post-footer"> <div class="post-footer-line post-footer-line-1"> <span class="post-author vcard"> 작성자: <span class="fn" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person"> <meta content="https://www.blogger.com/profile/07752444977949540488" itemprop="url"> <a target="_blank" class="g-profile" href="https://www.blogger.com/profile/07752444977949540488" rel="author" title="author profile"> <span itemprop="name">ljh8324</span> </a> </span> </span> <span class="post-timestamp"> 시간: <meta content="http://altibase-textcube.blogspot.com/2008/11/ioctl-%ED%95%A8%EC%88%98.html" itemprop="url"> <a target="_blank" class="timestamp-link" href="http://altibase-textcube.blogspot.com/2008/11/ioctl-%ED%95%A8%EC%88%98.html" rel="bookmark" title="permanent link"><abbr class="published" itemprop="datePublished" title="2008-11-25T23:43:00+09:00">오후 11:43</abbr></a> </span> <span class="post-comment-link"> <a target="_blank" class="comment-link" href="http://altibase-textcube.blogspot.com/2008/11/ioctl-%ED%95%A8%EC%88%98.html#comment-form" onclick=""> 댓글 없음: </a> </span> <span class="post-icons"> <span class="item-control blog-admin pid-492342947"> <a target="_blank" href="https://www.blogger.com/post-edit.g?blogID=4334402945261160562&postID=7024109636769565831&from=pencil" title="게시물 수정"> <img alt="" class="icon-action" height="18" src="https://resources.blogblog.com/img/icon18_edit_allbkg.gif" width="18"> </a> </span> </span> <div class="post-share-buttons goog-inline-block"> <a class="goog-inline-block share-button sb-email" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=7024109636769565831&target=email" target="_blank" title="이메일로 전송"><span class="share-button-link-text">이메일로 전송</span></a><a class="goog-inline-block share-button sb-blog" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=7024109636769565831&target=blog" onclick="window.open(this.href, &quot;_blank&quot;, &quot;height=270,width=475&quot;); return false;" target="_blank" title="BlogThis!"><span class="share-button-link-text">BlogThis!</span></a><a class="goog-inline-block share-button sb-twitter" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=7024109636769565831&target=twitter" target="_blank" title="Twitter에서 공유"><span class="share-button-link-text">Twitter에서 공유</span></a><a class="goog-inline-block share-button sb-facebook" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=7024109636769565831&target=facebook" onclick="window.open(this.href, &quot;_blank&quot;, &quot;height=430,width=640&quot;); return false;" target="_blank" title="Facebook에서 공유"><span class="share-button-link-text">Facebook에서 공유</span></a><a class="goog-inline-block share-button sb-pinterest" href="https://www.blogger.com/share-post.g?blogID=4334402945261160562&postID=7024109636769565831&target=pinterest" target="_blank" title="Pinterest에 공유"><span class="share-button-link-text">Pinterest에 공유</span></a> </div> </div> <div class="post-footer-line post-footer-line-2"> <span class="post-labels"> 라벨: <a target="_blank" href="http://altibase-textcube.blogspot.com/search/label/%3D%3D%3D%3D%20LINUX%20%3D%3D%3D%3D" rel="tag">==== LINUX ====</a>, <a target="_blank" href="http://altibase-textcube.blogspot.com/search/label/Cam" rel="tag">Cam</a>, <a target="_blank" href="http://altibase-textcube.blogspot.com/search/label/Device%20%26amp%3B%20Driver" rel="tag">Device &amp;amp; Driver</a>, <a target="_blank" href="http://altibase-textcube.blogspot.com/search/label/ioctl" rel="tag">ioctl</a>, <a target="_blank" href="http://altibase-textcube.blogspot.com/search/label/spere" rel="tag">spere</a> </span> </div> <div class="post-footer-line post-footer-line-3"> <span class="post-location"> </span> </div> </div> </div> </div> <div class="post-outer"> <div class="post hentry uncustomized-post-template" itemprop="blogPost" itemscope="itemscope" itemtype="http://schema.org/BlogPosting"> <meta content="4334402945261160562" itemprop="blogId"> <meta content="5158632006004418242" itemprop="postId"> <a name="5158632006004418242"></a> <h3 class="post-title entry-title" itemprop="name"> <a target="_blank" href="http://altibase-textcube.blogspot.com/2008/11/opencv-facedetect-%EC%86%8C%EC%8A%A4.html">[Opencv] Facedetect 소스</a> </h3> <div class="post-header"> <div class="post-header-line-1"></div> </div> <div class="post-body entry-content" id="post-body-5158632006004418242" itemprop="description articleBody"> <script src="http://ss.textcube.com/service/blog/script/blogger.js" type="text/javascript">

more..

#include "cv.h"

#include "highgui.h"

#include "stdio.h"
#include "stdlib.h"
#include "string.h"
#include "assert.h"
#include "math.h"
#include "float.h"
#include "limits.h"
#include "time.h"
#include "ctype.h"

#ifdef _EiC
#define WIN32
#endif

/*There are three parts in which first of all the program is divided ..

In the first part the program checks whether the Camera is connected and is it able to return frames to the program

If yes it detects the face from the camera/video file (or it also loads from a video file if you have specified) ...

If no

Then it checks for Lena.jpg if found it detects the face in the same....

If no

It checks for a file a text file where it can find the file names of each and every picture in which

The faces are to be detected..The text file should have the names of the pictures along with the extensions */

/*about CvMemStorage==>

typedef struct CvMemStorage

{

struct CvMemBlock* bottom;/* first allocated block */

/* struct CvMemBlock* top; /* the current memory block - top of the stack */

/* struct CvMemStorage* parent; /* borrows new blocks from */

/*int block_size; /* block size */

/*int free_space; /* free space in the top block (in bytes) */

/*} CvMemStorage;*/

/*CvMemStorage is a dynamic data structure used to store dynamically growing

data structures such as sequences contours Graphs..*/

static CvMemStorage* storage = 0;

static CvHaarClassifierCascade* cascade = 0;

/*This is the function which is going detect and draw the circle round the face..

For the Moment lets forget about the function*/

void detect_and_draw( IplImage* image );

/*WE assign the .xml file name which is the main basic thing which allows us to detect objects

and depending upon this file the object is realized..As I Said lets speak about xml file in some other post*/

const char* cascade_name =

"haarcascade_frontalface_alt.xml";

/* "haarcascade_profileface.xml";*/

/*This .xml file is available by default in the \root..\openCV\data folder and you may verify the same..*/

int main( int argc, char** argv )

{

CvCapture* capture = 0;

IplImage *frame, *frame_copy = 0;/*Another frame for Operations..frame_copy*/

int optlen = strlen("--cascade=");/*You will understamd this line afterwards*/

const char* input_name;

/*If you want to understand the below line then you have to first study about

the arguments the main function has..*/

/*Explanation of strncmp

int strncmp ( const char * str1, const char * str2, size_t num );

str1

C string to be compared.

str2

C string to be compared.

num

Maximim number of characters to compare.

See this link for more information

http://www.cplusplus.com/reference/clibrary/cstring/strncmp.html*/

if( argc > 1 && strncmp( argv[1], "--cascade=", optlen ) == 0 )

/*This line means that we compare the argument we got from the command line to that of the "--cascade"*/

/*We are comparing argc until the lenght optlen*/

{

/*If cascade name given in the command line then use it else go to the default..you can give the path to

the cascade to cascade name as given in the above line...*/

cascade_name = argv[1] + optlen;

input_name = argc > 2 ? argv[2] : 0;

/*If you know about arguments the main has and how they work then you should

be able to get this line by now..*/

}

else

{/*If you are running the program elsewhere other than the folder in which the program facedetect.c is

present by default then put the full path to the .xml file in the inverted commmas"

and replace "forward slash by a backslash" in the below line*/

/* try to comment this below line and then please use the command line for this program because the program does not

terminate after the execution and follow the same trick for many things*/

cascade_name = "C:/Program Files/OpenCV/data/haarcascades/haarcascade_frontalface_alt2.xml";

input_name = argc > 1 ? argv[1] : 0;/*Use of this line comes down..

If input name not given in the command line then load Zero

Ponder about this above line for sometime

Give some time to this program,..Once again if you have read about arguments the main function has then

you should be able to get this line*/

}

/*Here the use of cascade_name comes in..The previous lines involving the cascade_name were just

to ensure that a valid cascade name is passed to the function..other wise the program will give bad results*/

cascade = (CvHaarClassifierCascade*)cvLoad( cascade_name, 0, 0, 0 );/*Type conversion*/

/*Please see Cvload in documentation there is no space for text in this blog*/

/*If unable to load cascade then print the errors and quit */

if( !cascade )/*This loop is easy*/

{

fprintf( stderr, "ERROR: Could not load classifier cascade\n" );

fprintf( stderr,

"Usage: facedetect --cascade=\"\" [filename|camera_index]\n" );

return -1;

}

/*Else proceed here*/

storage = cvCreateMemStorage(0);

if( !input_name || (isdigit(input_name[0]) && input_name[1] == '\0') )

/*If input name is zero then capture from cam else it must be a

video file and load it with the help of capture from cam*/

capture = cvCaptureFromCAM( !input_name ? 0 : input_name[0] - '0' );

else

capture = cvCaptureFromAVI( input_name );

cvNamedWindow( "result", 1 );

/*The part where the capture from the camera starts */

if( capture )

{

for(;;)/*Infinite loop until we hit the escape buttom*/

{

if( !cvGrabFrame( capture ))/*If no frame break off just from this loop*/

break;

frame = cvRetrieveFrame( capture );/*If no frame break off just from this loop*/

if( !frame )

break;

if( !frame_copy )/*here frame copy =0 ==> !0=1 and hence it enters the loop*/

frame_copy = cvCreateImage( cvSize(frame->width,frame->height),

IPL_DEPTH_8U, frame->nChannels );

/*Copy the frame*/

if( frame->origin == IPL_ORIGIN_TL )/*if the origin is top left then procees else

flip the frame and then copy by using cvFlip*/

cvCopy( frame, frame_copy, 0 );

else

cvFlip( frame, frame_copy, 0 );

detect_and_draw( frame_copy );/*Send this frame to the function which wil detect

and dram the circle*/

if( cvWaitKey( 10 ) >= 0 )/*If you hit the escape key you will exit*/

break;

}

cvReleaseImage( &frame_copy );

cvReleaseCapture( &capture );

}

/*This part loads the image from the command line if image not found in the command line it loads the lena.jpg ..*/

else

{

const char* filename = input_name ? input_name : (char*)"lena.jpg";

IplImage* image = cvLoadImage( filename, 1 );

if( image )/*If image =0 then does not enter else enters and gives the frames for processing*/

{

detect_and_draw( image );

cvWaitKey(0);

cvReleaseImage( &image );

}

else

{

/* assume it is a text file containing the

list of the image filenames to be processed - one per line */

/* You may commment this part of the code as it is not always required

right from the opening brace of else to its closing brace*/

FILE* f = fopen( filename, "rt" );

if( f )/*i f!=0 enters the loop*/

{

char buf[1000+1];/*This part is really easy try to figure it out */

while( fgets( buf, 1000, f ))

{

/*This part consists of loading of the images by just loading the filename from the

textfile and one name per line

It requires the knowledge of C++ rather than OpenCV*/

int len = (int)strlen(buf);

while( len > 0 && isspace(buf[len-1]) )

len--;

buf[len] = '\0';

image = cvLoadImage( buf, 1 );/*Loads the image sends it as the argument */

if( image )

{

detect_and_draw( image );

cvWaitKey(0);

cvReleaseImage( &image );

}

}

fclose(f);/*Closing the file pointer*/

}

}

}

cvDestroyWindow("result");

return0;

}

void detect_and_draw( IplImage* img )

{

static CvScalar colors[] =

{/*For the moment forget about this array*/

{{0,0,255}},

{{0,128,255}},

{{0,255,255}},

{{0,255,0}},

{{255,128,0}},

{{255,255,0}},

{{255,0,0}},

{{255,0,255}}

};

double scale = 0.6;/*Change this value and you can chang the color of the circle which detects the face*/

IplImage* gray = cvCreateImage( cvSize(img->width,img->height), 8, 1 );/*Gray is the same as the image

(Actually pointer to the image) which is sent from program main whenever this funciton is called.*/

IplImage* small_img = cvCreateImage( cvSize( cvRound (img->width/scale),

cvRound (img->height/scale)),

8, 1 );

/* here cvRound is just rounding off the double to an integer so that we have a perfect integer values

with good accuracy*/

int i;

cvCvtColor( img, gray, CV_BGR2GRAY );

/*The image is converted to GRAY because Haar training works only on grayscale or binary images*/

cvResize( gray, small_img, CV_INTER_LINEAR );

cvEqualizeHist( small_img, small_img );/*I feel we equlize because we want to get good results*/

cvClearMemStorage( storage );

if( cascade )

{

/*here lets leave about cvgetickcount and some other arithmetic calculations invoving time*/

double t = (double)cvGetTickCount();

CvSeq* faces = cvHaarDetectObjects( small_img, cascade, storage,

1.1, 2, 0/*CV_HAAR_DO_CANNY_PRUNING*/,

cvSize(30, 30) );/*CV_HAAR_DO_CANNY_PRUNING is the only

method supported right now*/

/*This one line detects objects*/

t = (double)cvGetTickCount() - t;/*Let us just leave about detection time for the moment*/

/*Lets concentrate on detection first.*/

printf( "detection time = %gms\n", t/((double)cvGetTickFrequency()*1000.) );

for( i = 0; i < (faces ? faces->total : 0); i++ )/*This condition in the condition field of the for loop is

once again for safety

/* If faces=0 then zero is assigned and if not the "total "is assigned to compare with 'i' .See the

cvseqstructure in the documentation for more details..*/

/*total is a member of cvseq- ITs the total number of elements"*/

{

CvRect* r = (CvRect*)cvGetSeqElem( faces, i );

CvPoint center;

/*CvPoint is a structure which has just two members they store x coordinate and the y coordinate*/

int radius;

center.x = cvRound((r->x + r->width*0.5)*scale);/*CvRound explained above.

This line has more of Arithmetic and the following lines...

You can also try and change the numerical values to see the change*/

center.y = cvRound((r->y + r->height*0.5)*scale);

radius = cvRound((r->width + r->height)*0.25*scale);

cvCircle( img, center, radius, colors[i%8], 3, 8, 0 );

/*Think over the 'colors[i%8]' remember % means Remainder*/

/*Explanation of cvCircle

void cvCircle( CvArr* img, CvPoint center, int radius, CvScalar color,

int thickness=1, int line_type=8, int shift=0 );

*/

}

}

cvShowImage( "result", img );

cvReleaseImage( &gray );

cvReleaseImage( &small_img );

}

//End

http://myopencv.blogspot.com/2008/05/facedetectc.html