[resolved] Edit XML file with specific FTP account (2 posts)

  1. SoItBegins
    Posted 4 years ago #

    I'm making a plugin that builds a special XML file. For security, the file has to be set so that only a specific FTP user (not 'everyone') can edit it. I'm just slightly unsure how I'm supposed to write to a file while logged in through FTP.

    Any help would be appreciated.

  2. michael.mariart
    Posted 4 years ago #

    There's the standard PHP FTP functions that you can use. From my understanding o fit all, you produce the file locally, and then use a PUT command to upload the file to the remote FTP server.

Topic Closed

This topic has been closed to new replies.

About this Topic