# How to sftp a file? get\_url failing 'need secure connection'

**URL:** <https://forum.ansible.com/t/how-to-sftp-a-file-get-url-failing-need-secure-connection/26558>\
**Category:** Ansible Project\
**Created:** [January 24, 2018, 5:04pm UTC](https://forum.ansible.com/t/how-to-sftp-a-file-get-url-failing-need-secure-connection/26558 "2018-01-24T17:04:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![G\_T](https://avatars.discourse-cdn.com/v4/letter/g/f6c823/32.png) [@G\_T](https://forum.ansible.com/u/G_T)\
**Post date:** [January 24, 2018, 5:04pm UTC](https://forum.ansible.com/t/how-to-sftp-a-file-get-url-failing-need-secure-connection/26558/1 "2018-01-24T17:04:33Z")

</div>

Hi all, I am attempting to sftp a file from an ftp server to a target host. I am attempting to use get\_url with the url in the below format but getting ‘urlopen error ftp error: 530 Not logged in, need secure connection’ - any ideas why this is failing?

FTP://:@:
