How to use FTP to upload files?
KS Chan
I want to upload a large amount of files to my production environment, how could I use FTP to upload them?
0
Comments
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.yamlfile. If you want to sync the entire mount’s file set you can also use theplatform mount:uploadcommand.See https://docs.platform.sh/development/file-transfer.html for details on each option.
Plain FTP is inherently insecure and is not available anywhere.
Please sign in to leave a comment.