How to sftp a file? get_url failing 'need secure connection'

26 views
Skip to first unread message

G T

unread,
Jan 24, 2018, 12:04:33 PM1/24/18
to Ansible Project
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://<username>:<password>@<ip>:<filename>
Reply all
Reply to author
Forward
0 new messages