Skip to content
AutoHotKey
2011.02.04 23:27

[AUTOHOTKEY] FTP 제어

조회 수 25246 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부


FTP 제어 함수



#Include INet.ahk

server = 도메인
port = 포트번호 보통 21번을 씁니다.
User = 접속아이디
Pwd = 비밀번호

   INetOpen()
   hFTP := INetConnect(Server, Port, User, Pwd, "ftp")

   if(hFTP)
   {
      if(FtpPutFile(hFTP, "INet.ahk"))
         Msgbox 파일 업로드 성공
      else
         Msgbox 파일 업로드 오류 : %A_LastError%

      INetCloseHandle(hFTP)
   }
   INetClose()


함수로는

FtpCreateDirectory(hConnection, Directory) - 디렉토리 생성
FtpRemoveDirectory(hConnection, Directory) - 디렉토리 삭제
FtpSetCurrentDirectory(hConnection, Directory) - Sets the current working directory for a specified FTP session. 무슨말인지 모르겠네요;;
FtpGetCurrentDirectory(hConnection, ByRef Directory) - Gets the current working directory of a specified FTP session. 마찬가지-_-+
FtpPutFile(hConnection, LocalFile, RemoteFile="", TransferType="B") - 파일 업로드
FtpGetFile(hConnection, RemoteFile, LocalFile="", TransferType="B", OverWrite=0, LocalAttrib=0) - 파일 다운로드
FtpGetFileSize(hConnection, File, TransferType="B") - 파일사이즈 얻기
FtpRenameFile(hConnection, ExistingName, NewName) - 파일이름변경
FtpDeleteFile(hConnection, File) - 파일삭제














로그인 후 댓글쓰기가 가능합니다.

?

  1. 12
    May 2012
    17:06

    AHK) AUTOKEY 웹페이지 열지않고 소스 가져오기 또는 로그인 하기

    CategoryAutoHotKey Views52952
    Read More
  2. 21
    Nov 2012
    18:31

    AHK) 보안프로그램 등으로 화면복사(Printscreen) 안될때 사용방법

    CategoryAutoHotKey Views47165
    Read More
  3. 06
    Jan 2013
    16:38

    Ahk) 웹페이지 감시결과에 따라 마이피플로 글 전송하기

    CategoryAutoHotKey Views44022
    Read More
  4. 16
    Mar 2012
    08:06

    Autohotkey) 화면보호기(ScreenSaver) On/Off 방법

    CategoryAutoHotKey Views40675
    Read More
  5. 30
    Oct 2013
    17:50

    ahk) 오토핫키 콤보박스 제어하기

    CategoryAutoHotKey Views38175
    Read More
  6. 30
    Oct 2013
    17:04

    ahk) autohotkey 엑셀(Excel)에서 행값 증가시키기

    CategoryAutoHotKey Views37414
    Read More
  7. 22
    Feb 2012
    07:24

    Autohotkey) Find WM_COMMAND parameter with Winspector

    CategoryAutoHotKey Views35869
    Read More
  8. 31
    Dec 2011
    17:18

    autohotkey) Virus?

    CategoryAutoHotKey Views34679
    Read More
  9. 30
    Oct 2013
    16:59

    ahk) autohotkey 글자 자르기 방법

    CategoryAutoHotKey Views34671
    Read More
  10. 30
    Oct 2013
    17:11

    autohotkey) 오토핫키에서 자주쓰는 함수모음

    CategoryAutoHotKey Views33659
    Read More
  11. 31
    Jul 2013
    13:22

    autohotkey) 30분마다 자동으로 디스크 정리하기

    CategoryAutoHotKey Views33070
    Read More
  12. 30
    Oct 2013
    16:51

    ahk) 열려진 엑셀창의 값 불러오기

    CategoryAutoHotKey Views32527
    Read More
  13. 06
    Mar 2012
    08:34

    autohotkey) 윈도우 ahk_id 추출하기

    CategoryAutoHotKey Views30088
    Read More
  14. 13
    Mar 2012
    23:06

    autohotkey) 편입 변수

    CategoryAutoHotKey Views28888
    Read More
  15. 22
    Feb 2012
    08:19

    autohotkey) postmessage mouse control

    CategoryAutoHotKey Views28628
    Read More
  16. 12
    Feb 2011
    00:31

    [COM] 자바스크립트 / DOM / HTML 웹페이지 컨트롤

    CategoryAutoHotKey Views27281
    Read More
  17. 04
    Feb 2011
    23:27

    [AUTOHOTKEY] FTP 제어

    CategoryAutoHotKey Views25246
    Read More
  18. 31
    Dec 2011
    08:00

    autohotkey) Mutex에 대해서

    CategoryAutoHotKey Views24094
    Read More
  19. 11
    Feb 2011
    16:55

    [ahk_l] 구글의 Gmail 자동로그인 소스

    CategoryAutoHotKey Views22493
    Read More
  20. 14
    Feb 2011
    17:29

    AutoHotkey_L: Arrays, Debugger, x64, COM, #If expression

    CategoryAutoHotKey Views21594
    Read More
Board Pagination Prev 1 2 3 4 5 Next
/ 5

http://urin79.com

우린친구블로그

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소