Just cooked up a Dll for Dark Basic Professional.
It should work more reliably than the FTP Commands that come with Dark Basic Professional.
Here is a command list:
FTP_Information `Display DLL Name And Version Information
String$ = FTP_Current_Directory() `Returns The Current FTP Directory
Integer = FTP_List_Count() `Returns The Total Number Of Folders And Directories
String$ = FTP_List(Index) `Returns The File Or Folder Name At The Current Index
FTP_Connect "Host", "Username", "Password", Port `Connect To Your FTP
FTP_Upload "Filename" `Upload The Given File To The Current Directory
FTP_Download "Filename", "Save_Path" `Save The File To A Given Path
Integer = FTP_Connected() `Return = 1 If Connected. Return = 0 If Disconnected
FTP_Change_Directory "Directory" `Change The Current Directory To A New One
FTP_Delete_File "Filename" `Delete The Given File
FTP_Rename_File "Old_Filename", "New_Filename" `Rename A File
FTP_Make_Directory "Directory_Name" `Make A Directory
FTP_Remove_Directory "Directory_Name" `Removes A Directory
Very simple. Just drop the DLL into the Compiler >> Plugin-User Folder
Included in my download is an example FTP program that demonstrates how to use most of the important commands.
If you have any questions, comments, suggestions, bug reports or anything else to say please do.
Thanks,
The Lone Programmer
"Is The Juice Worth The Squeeze"
-The Girl Next Door