This forum is no longer active. Please post your questions to our new community site

Forums Drupal

Uploading files

Subscribe to Uploading files 11 post(s), 4 voice(s)

 
Avatar alexonchik 4 post(s)

Is it possible to connect to BitNami Amazon Machine Image through Filezilla? I want to upload my theme to sites/all/themes

If yes, how??? SFTP?

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

The FTP server is not enabled but you can use SCP (WinSCP for example) to copy files into the machine through SSH.

 
Avatar alexonchik 4 post(s)

OK. Can I use FileZilla 3.3.2.1 for that?
But I still can not connect… There are my settings…

Host: ec2-[ip address].eu-west-1.compute.amazonaws.com
Server Type: FTPSFTP over implicit TLS/SSL
Logon Type: Normal
User: [my new login in drupal cms]
Password: [my new password in drupal cms]

 
Avatar alexonchik 4 post(s)

WinSCP 4.2.8 doesn’t work also…

My settings:

  1. Host name: ec2-[ip address].eu-west-1.compute.amazonaws.com
  2. Port number: 22
  3. User name: [my new login in drupal cms]
  4. Password: [my new password in drupal cms]
  5. Private key: mykey.ppk
  6. Protocol: SCP
  7. Remote directory: /drupal

than i pressed “Login button” and got a message:

“Authentication log (see session log for details): Using username “admin”. Server refused our key. Authentication failed."

AND MY AMI ID is ami-231f3557

 
Avatar ernie 3 post(s)

I have a similar problem.
Installed the Bitnami-Drupal-Stack into a virtual machine, host system is Win 7. Activated SSH on the VM.
Wanted to use WinSCP 4.28 to transfer files into the Bitnami machine, for example some pictures from the host to /opt/bitnami/apps/drupal/htdocs/sites/default/files/pictures on the bitnami VM.
logged in as user “bitnami” with my password. WinSCP login works. writing files to the bitnami machine doesn’t.
I get Permission denied. Error code: 3 from WinSCP.
How am I supposed to get any files into the filesystem on the VM?

thanks for any suggestions.

 
Avatar ernie 3 post(s)

Same with other destination directories on the VM, for example /opt/bitnami/apps/drupal/htdocs/modules.
I cannot get any files to the bitnami VM and I searched this forum and almighty google and came up with nothing useful.
am i the only one having this problem?

 
Avatar alexonchik 4 post(s)

i use this now. http://getpantheon.com/mercury/what-is-mercury
i solved my problem with ftp.

 
Avatar ernie 3 post(s)

i guess mercury is a little too much for me.
thanks anyway.
i just wanted to write some files to the drupal machine somehow.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

@alexonchik The SCP credentials are not correct:

  1. User name: [my new login in drupal cms] → the user account in the machine “bitnami”
  2. Password: [my new password in drupal cms] → your AWS password

@ernie

The “bitnami” user does not have access privileges to the drupal files for security reasons. If you want to have access to write files, you can change the folder permissions. Try to login in the machine using SSH and then run the following command:

bq $ sudo chown -R daemon:bitnami /opt/bitnami/apps/drupal/htdocs

 
Avatar seanlew 2 post(s)

guess should be : sudo chown -R bitnami:daemon /opt/bitnami/apps/drupal/htdocs

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Yes sorry, you are right.

Forums Drupal