Skip to content
This repository was archived by the owner on Nov 26, 2022. It is now read-only.
Andrew Lambert edited this page May 8, 2014 · 2 revisions

The FTP module contains classes, methods, etc. relating to the FTP protocol.

Classes

Constants

  • ASCIIMode=2
  • BinaryMode=1
  • EBCDICMode=4
  • LocalMode=3

Methods

  • ChildOfParent(Child As FolderItem, Parent As FolderItem) As Boolean Returns True if the Child folderitem is under the Parent folderitem directory.
  • CRLF() As String Returns an ASCII carriage return and linefeed (FTP's EOL)
  • FTPCodeToMessage(Code As Integer) As String Returns the human-readable message associated with the specified FTP response code.
  • IPv4_to_PASV(IPv4 As String, Port As Integer) As String Converts an IPv4 dotted notation address and port number (e.g. 192.168.1.1:21) into FTP notation (e.g. 192,168,1,1,0,21)
  • PASV_to_IPv4(PASVParams As String) As String Converts an FTP notation IP address and port number (e.g. 192,168,1,1,0,21) into dotted IP notation (e.g. 192.168.1.1:21)
  • PathDecode(Path As String) As String Decodes embedded special-meaning characters in file paths.
  • PathEncode(Path As String) As String Encodes embedded special-meaning characters in file paths.
  • SocketErrorMessage(Sender As SocketCore) As String Returns a human-readable message corresponding to the LastErrorCode of the passed SocketCore subclass.

Structures

  • FTPListEntry Contains information parsed from a LIST command result.
  • FTPVerb Contains the Verb and arguments of a single FTP command.

Clone this wiki locally