spyderman4g63
spyderman4g63

Reputation: 4319

Does Heroku allow NET::FTP binary file transfers?

I can make a connection to an ftp server using NET::FTP, but it doesn't appear that I can use net::ftp.getbinaryfile() or even get something like the pwd(), list(), etc. Does heroku support this functionality?

Upvotes: 1

Views: 1256

Answers (2)

spyderman4g63
spyderman4g63

Reputation: 4319

Yes. Heroku does support NET::FTP and transferring files in binary mode. However, I found out that it only support passive mode see this question.

Upvotes: 3

inntran
inntran

Reputation: 1033

Heroku would compile your code into slug, which is a read-only package ready for running in dynos, see: Slug Compiler

Your application is running in a very restricted environment, where most file operations are banned.

Upvotes: 0

Related Questions