Gentee Programming Language > Documentation > Libraries Download documentation

Internet

This library contains functions and methods for working with the Internet. For using this library, it is required to specify the file internet.ge (from Lib subfolder) with include command.

  • Methods
  • Data types
  • Functions

    Methods

    ftp.closeTerminates the FTP connection
    ftp.commandSends a command
    ftp.createdirCreates a new directory
    ftp.deldirDeletes a directory
    ftp.delfileDeletes a file
    ftp.getcurdirRetrieves the current directory
    ftp.getfileRetrieves a file
    ftp.getsizeRetrieves the file size
    ftp.gettimeRetrieves the file time
    ftp.lastresponseThe last response from the FTP server
    ftp.listList of files
    ftp.openEstablishes an FTP connection
    ftp.putfileStores a file on the FTP server
    ftp.renameRenames a file
    ftp.setattribSets the attributes
    ftp.setcurdirSets the current directory
    socket.closeClosing a socket
    socket.connectOpening a socket
    socket.isproxyConnecting via a proxy or not
    socket.recvGetting a response
    socket.sendSending a request
    socket.urlconnectCreating and connecting a socket to a URL
    str.iencodingRecoding a string
    str.iheadGetting a header
    str.ihttpinfoProcessing a header
    str.iurlParsing a URL address

    Data types

    ftpType applied for FTP
    httpinfoHTPP header data
    socketStructure for sockets
    inetnotifyType for handling messages

    Functions

    http_getGetting data via the HTTP protocol
    http_getfileDownloading a file via the HTTP protocol
    http_headGetting a header via the HTTP protocol
    http_postSending data via the HTTP protocol
    inet_closeClosing the library
    inet_errorGetting an error code
    inet_initLibrary initialization
    inet_proxyUsing a proxy server
    inet_proxyenableEnabling/disabling a proxy server
    inetnotify_funcFunction for handling messages


     Copyright © 2004-2006 Gentee Inc. All rights reserved.