Gentee Programming Language > Documentation > Libraries Download documentation

ftp

The given type is used to deal with the FTP protocol.

include : "internet.ge"

func main<main>
{
   ftp myftp

   if myftp.open("mysite.com", "", "", $FTP_PASV | $FTP_ANONYM )
   {
      str list
      
      if myftp.list( list, "LIST" ) : @list 
      myftp.close()
   }
}

See also

    Internet


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