How to use FTP to upload files?

I want to upload a large amount of files to my production environment, how could I use FTP to upload them?

If the files are part of your application (that is, they are “code” and not “data”), they should be pushed through Git commits like any other file changed.

If the files are data, then you can upload them using SFTP (Secure FTP) or rsync to one of the writeable mounts defined in your .platform.app.yaml file. If you want to sync the entire mount’s file set you can also use the platform mount:upload command.

See the documentation for details on each option.

Plain FTP is inherently insecure and is not available anywhere.

1 Like