Page 1 of 1

FTP-Library: SetFTPAttributes

Posted: Wed Aug 06, 2008 1:03 am
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... :)