Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. What FTP pack can obtain the detail events?

What FTP pack can obtain the detail events?

Scheduled Pinned Locked Moved C / C++ / MFC
c++comsysadminsecurityjson
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    includeh10
    wrote on last edited by
    #1

    I need ftp C/C++ functions/classes to process ftp uploading/downloading tasks. When I used software [FileZilla FTP Client], it sends/obtains many interesting events/messages, such as:

    Status: Resolving address of www.xyz.com
    Status: Connecting to 11.222.333.444:21...
    Status: Connection established, waiting for welcome message...
    Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
    Response: 220-You are user number 3 of 1000 allowed.
    Response: 220-Local time is now 15:16. Server port: 21.
    Response: 220-This is a private system - No anonymous login
    Response: 220-IPv6 connections are also welcome on this server.
    Response: 220 You will be disconnected after 15 minutes of inactivity.
    Command: USER xyz
    Response: 331 User xyz OK. Password required
    Command: PASS *****************
    Response: 230 OK. Current restricted directory is /
    Command: SYST
    Response: 215 UNIX Type: L8
    Command: FEAT
    Response: 211-Extensions supported:
    Response: EPRT
    Response: IDLE
    Response: MDTM
    Response: SIZE
    Response: REST STREAM
    Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
    Response: MLSD
    Response: AUTH TLS
    Response: PBSZ
    Response: PROT
    Response: ESTA
    Response: PASV
    Response: EPSV
    Response: SPSV
    Response: ESTP
    Response: 211 End.
    Status: Connected
    Status: Retrieving directory listing...
    Command: PWD
    Response: 257 "/" is your current location
    Command: TYPE I
    Response: 200 TYPE is now 8-bit binary
    Command: PASV
    Response: 227 Entering Passive Mode (74,220,215,241,4,101)
    Command: MLSD
    Response: 150 Accepted data connection
    Response: 226-Options: -a -l
    Response: 226 33 matches total
    Status: Directory listing successful
    (many more ...)

    Those events are very useful and in details, I think MFC FTP classes are NOT powerful enough to process them. What FTP C/C++ functions/classes are used by [FileZilla FTP Client] (or better than them)? I'd like to try them. Thanks for links and comments. .

    J 1 Reply Last reply
    0
    • I includeh10

      I need ftp C/C++ functions/classes to process ftp uploading/downloading tasks. When I used software [FileZilla FTP Client], it sends/obtains many interesting events/messages, such as:

      Status: Resolving address of www.xyz.com
      Status: Connecting to 11.222.333.444:21...
      Status: Connection established, waiting for welcome message...
      Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
      Response: 220-You are user number 3 of 1000 allowed.
      Response: 220-Local time is now 15:16. Server port: 21.
      Response: 220-This is a private system - No anonymous login
      Response: 220-IPv6 connections are also welcome on this server.
      Response: 220 You will be disconnected after 15 minutes of inactivity.
      Command: USER xyz
      Response: 331 User xyz OK. Password required
      Command: PASS *****************
      Response: 230 OK. Current restricted directory is /
      Command: SYST
      Response: 215 UNIX Type: L8
      Command: FEAT
      Response: 211-Extensions supported:
      Response: EPRT
      Response: IDLE
      Response: MDTM
      Response: SIZE
      Response: REST STREAM
      Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
      Response: MLSD
      Response: AUTH TLS
      Response: PBSZ
      Response: PROT
      Response: ESTA
      Response: PASV
      Response: EPSV
      Response: SPSV
      Response: ESTP
      Response: 211 End.
      Status: Connected
      Status: Retrieving directory listing...
      Command: PWD
      Response: 257 "/" is your current location
      Command: TYPE I
      Response: 200 TYPE is now 8-bit binary
      Command: PASV
      Response: 227 Entering Passive Mode (74,220,215,241,4,101)
      Command: MLSD
      Response: 150 Accepted data connection
      Response: 226-Options: -a -l
      Response: 226 33 matches total
      Status: Directory listing successful
      (many more ...)

      Those events are very useful and in details, I think MFC FTP classes are NOT powerful enough to process them. What FTP C/C++ functions/classes are used by [FileZilla FTP Client] (or better than them)? I'd like to try them. Thanks for links and comments. .

      J Offline
      J Offline
      Jochen Arndt
      wrote on last edited by
      #2

      FileZilla is OpenSource. So just download the source from the FileZilla Download Page[^]. To know about FTP commands, read the RFC 959[^].

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups