FTP-Library: SetFTPAttributes

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
jamirokwai
Enthusiast
Enthusiast
Posts: 796
Joined: Tue May 20, 2008 2:12 am
Location: Cologne, Germany
Contact:

FTP-Library: SetFTPAttributes

Post by jamirokwai »

Dear Board,

for even better usability of the FTP-Library, there should be some commands like these:
  • SetFTPDirectoryEntryAttributes
    SetFTPDirectoryEntryDate
    SetFTPDirectoryEntryName
    SetFTPDirectoryEntrySize
    SetFTPDirectoryEntryType
For my own project (a GUI for offline-editing of new blog-entries for my own cms...) I
need to set some file-attributes for to make a text-file writable for the php-script...
These 4 could also be very usefull.
  • GetFTPOwner
    GetFTPGroup
    SetFTPOwner
    SetFTPGroup
And something like
  • ReceiveFTPMemory
    SendFTPMemory
should also be usable with memory-buffers instead of files. Of course, you could write a file to harddisk
and send it using SendFTPFile. But what to do when uploading many small files, using an usb-stick, write
-protected drives (CD-Rom, Vista) and so on...?

Many of these functions should not be hard to implement into the current FTP-Library... :)
Regards,
JamiroKwai