Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8917051
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T05:23:50+00:00 2026-06-15T05:23:50+00:00

I am developing a Facebook app using heroku. My app needs the ability to

  • 0

I am developing a Facebook app using heroku. My app needs the ability to upload files (pictures) to a folder on a remote server, and I assume ftp is the best option. Unfortunately the ftp extension is not enabled out of the box. I spoke with support and they suggested the following:

“We unfortunately don’t support FTP, or any PHP extension at this moment.

But the good news is that we just open sourced our PHP build pack, so you could try to vendor it yourself:
https://github.com/heroku/heroku-buildpack-php“

So I am assuming I can follow the readme instructions in the link above, and simply include the –enable-ftp option?

This is a bit beyond my current knowledge. I really appreciate the help, and look forward to learning something new.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T05:23:51+00:00Added an answer on June 15, 2026 at 5:23 am

    I had to do something similar. Here’s what I did:

    1.You need to use a custom buildpack which installs the pear packages Net_FTP. I suggest that you fork the one I’ve been using (https://github.com/antonyevans/heroku-buildpack-php/)

    Then you need to change bin/compile. Key changes are the removal of the lines (around 163):

    php/bin/pear install mail
    php/bin/pear install Net_SMTP
    

    And the addition of Net_FTP extension:

    php/bin/pear install Net_FTP
    

    2.Then you need to tell your application to load the package:

    require_once 'Net_FTP.php';
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been developing a Facebook app using Google App Engine in Python and the
I'm developing an HTML app that integrates Facebook Graph API using Javascript SDK. Facebook
I'm currently developing a facebook app that needs access to a users photos. It
I started developing a Facebook app using the new Graph API. I want to
I'm developing a web app integrated with facebook and I'm using the request dialog
I am developing an iPhone app which needs Facebook to be integrated to my
I am developing a facebook app using php SDK, my app is small and
I am developing an iphone app and using facebook graph API. I need to
I am developing app using facebook API. When I push 'login' button from my
I am developing a facebook app using PHP. I am able to login using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.