# Need to upload file via FTP or Putty. Not working

**URL:** <https://community.wowza.com/t/need-to-upload-file-via-ftp-or-putty-not-working/53728>\
**Category:** Wowza Streaming Engine\
**Created:** [July 30, 2019, 1:35pm UTC](https://community.wowza.com/t/need-to-upload-file-via-ftp-or-putty-not-working/53728 "2019-07-30T13:35:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Casablanca\_Dreams](https://avatars.discourse-cdn.com/v4/letter/c/ebca7d/32.png) [@Casablanca\_Dreams](https://community.wowza.com/u/Casablanca_Dreams)\
**Post date:** [July 30, 2019, 1:35pm UTC](https://community.wowza.com/t/need-to-upload-file-via-ftp-or-putty-not-working/53728/1 "2019-07-30T13:35:14Z")

</div>

I have pem file and ppk file so I can log in using ec2-user. No other users can log in via this key.

Now the issue is I am not able to upload streamlock file via putty or Filezilla using ec2-user because of permission issue. So someone please guide me how do I connect FTP or sftp to upload a file on a server.

I try scp command to upload file (scp -r desktop/5d35b4b0a36c9.streamlock.net.jks [root@ec2-3-211-74-190.compute-1.amazonaws.com](mailto:root@ec2-3-211-74-190.compute-1.amazonaws.com):/usr/local/WowzaStreamingEngine-4.7.7/conf/ )

but same permission error.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [July 30, 2019, 2:51pm UTC](https://community.wowza.com/t/need-to-upload-file-via-ftp-or-putty-not-working/53728/2 "2019-07-30T14:51:37Z")

</div>

FTP is generally not enabled on Amazon. You will need to use SFTP on port 22 with the same PEM and PPK files you already use to access your EC2 instance.

Amazon has an article on EC2 key pairs.  
[https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html)

Amazon also has documentation on h ow to create the PEM and PPK files at the link below.  
[https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html)

We also have a forum post on how to upload a file via the command line.  
[http://community.wowza.com/community/questions/1901/ssh-access-to-wowza-ec2-instance.html](http://community.wowza.com/community/questions/1901/ssh-access-to-wowza-ec2-instance.html)
