SplFileObject fwrite alternative

Hi,

We have the need to create a csv file with data from sugar. This file is then uploaded to a ftp server. Since the cloud does not allow the SplFileObject->fwrite() or fwrite() method to be used, is there an alternative method to create a file? Maybe as an attachment for a note or something?

Regards,

Stijn

Parents
  • If you want to have a file in Sugar you must create it externally and then upload it to a Note object.

    So you must retrieve the data with a PHP or C# or JAVA or whatever script by REST calls from Sugar. In the script you create the file and distribute and/or upload it.

    Direct acess to the cloud file system is not allowed and not possible.

Reply
  • If you want to have a file in Sugar you must create it externally and then upload it to a Note object.

    So you must retrieve the data with a PHP or C# or JAVA or whatever script by REST calls from Sugar. In the script you create the file and distribute and/or upload it.

    Direct acess to the cloud file system is not allowed and not possible.

Children