Hello,
The following code produces a 0 byte file on my filesystem:
App::import('Core', 'File');
$file =& new File('./files/postings/test3.pdf');
$file->write($cvID['AppFile']['data']); //(BLOB data, pdf)
If I just do a plain string, it saves to the filesystem correctly.
Does anyone know what is causing this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---