With some help from elsewhere, I'm pretty close to enabling file editing/writing with PHP on a SourceForge-hosted website.
For anyone with an interest in this topic, here is a more detailed explanation...
- (Using an SSH2-capable program such as gFTP under Linux) navigate back to the root directory, /. and find tmp/persistent/
- The content is hidden but you will be able to make a directory (mkdir)
Opening the persistent folder in gFTP disconnected me from the server, so I entered the tmp folder and right-clicked > make directory.
Instead of typing just a directory name, I typed "persistent/my_directory_name" (where my_directory_name was the name of the folder I wanted to create). This seemed to work in gFTP.
Getting the files in PHP will be harder for me, since I've never used the FTP functionality in PHP.
http://us2.php.net/manual/en/ref.ftp.php
The above link from the PHP.net manual discusses some basics of FTP. I'm wondering whether there's any particular or preferred method for appending to a file via FTP. If you've had experience with this, I'd love to hear any hints or advice.
Thanks! I hope this forum thread is helpful to someone else. 🙂