Dark Basic FTP Plugin

FTP command set for Dark Basic Profession. This FTP plugin is a more stable alternative to the existing FTP command set. It offers more commands with better results. The command set was created with Visual C++ 2010 using the WinINet API. Full source code is included in the download.

Commands

  • String$ = ftpAbout()
  • Integer = ftpConnect("Host", "Username", "Password")
  • Integer = ftpDisconnect()
  • Integer = ftpDownload("Remote File", "Local File")
  • Integer = ftpDownloadBinary("Remote File", "Local File")
  • Integer = ftpUpload("Local File", "Remote File")
  • Integer = ftpUploadBinary("Local File", "Remote File")
  • Integer = ftpDeleteFile("Filename")
  • Integer = ftpIsConnected()
  • Integer = ftpSetDirectory("Directory")
  • String$ = ftpGetCurrentDirectory()
  • DWord = ftpFileSize("Filename")
  • Integer = ftpGoToRoot()
  • Integer = ftpRenameFile("Start File", "End File")
  • Integer = ftpFileCount()
  • Integer = ftpCreateDirectory("Directory")
  • Integer = ftpDeleteDirectory("Directory")

Instructions
Copy the RaboyFTP.dll file into C:\Program Files\Dark Basic Software\Dark Basic Professional\Compiler\plugins-user On some computers the path may be different. Just navigate to wherever Dark Basic Pro was installed and drop the plugin in the \Compiler\plugins-user folder. Copy the RaboyFTP.ini file into \Editor\Keywords folder so you get syntax highlighting.

Download Version 4

Created by Nic Raboy