how to set default file permissions in Aptana Studio 3?

aptana, aptana3, permissions

Solution

- Open the Preferences dialog: `Window > Preferences`

- Then go to: `Aptana Studio > Publishing > FTP` (You can just type 'ftp' into the search box)

- That will bring you to the settings page below where you can set the default permissions for new files and folders:

- Then adjust to your desired permissions for Uploads and/or Downloads

- You can choose different default permissions for files and folders by selecting `for Files` or `for Folders` from the drop-down menu

Problem

Every time I upload a file to the remote host and try to open it, I get the "Internal Server Error" message and file permissions get set to "666" which needs to be "644" to open. How do I set default file permissions to be set to "644"?

Original source