# SFTP URLs not handled

**URL:** <https://resource.dopus.com/t/sftp-urls-not-handled/23629>\
**Category:** Help & Support\
**Created:** [September 26, 2016, 4:15am UTC](https://resource.dopus.com/t/sftp-urls-not-handled/23629 "2016-09-26T04:15:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![uriah](https://resource.dopus.com/user_avatar/resource.dopus.com/uriah/32/12476_2.png) [@uriah](https://resource.dopus.com/u/uriah)\
**Post date:** [September 26, 2016, 4:15am UTC](https://resource.dopus.com/t/sftp-urls-not-handled/23629/1 "2016-09-26T04:15:42Z")

</div>

Directory Opus supports SFTP (FTP over SSH) however it does not appear to support SFTP URLs.

For example:  
sftp://user:pass@host/mount/dir

This should connect via SFTP on port 22 to the given credentials and navigate to the directory /mount/dir.

Similarly there should be handlers for FTPS (FTP over SSL Implicit) and FTPES (FTP over TLS Explicit) for example:  
sftp://user:pass@host/mount/dir  
ftps://user:pass@host/mount/dir  
ftpes://user:pass@host/mount/dir

In general if no port is specified, the default port for that protocol should be used, just like other URLs.

Is it possible to make this change?

---

<div class="post-metadata">

**Author:** ![PerlLlama](https://resource.dopus.com/user_avatar/resource.dopus.com/perlllama/32/35420_2.png) [@PerlLlama](https://resource.dopus.com/u/PerlLlama)\
**Post date:** [February 24, 2019, 12:31am UTC](https://resource.dopus.com/t/sftp-urls-not-handled/23629/2 "2019-02-24T00:31:02Z")

</div>

Has anything been done to differentiate between FTP and SSH/SFTP connections?

How do I specify a URL which uses SFTP or SSH instead of FTP? As far as I can tell only the 'ftp://' url is supported, and the selection of SSH or SFTP can only be done via a bookmark entry.

If the bookmark entry is the ONLY way to go, how do I add a bookmark entry programmatically?

---

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [February 24, 2019, 5:08am UTC](https://resource.dopus.com/t/sftp-urls-not-handled/23629/3 "2019-02-24T05:08:57Z")

</div>

> [@PerlLlama](#):
>
> If the bookmark entry is the ONLY way to go, how do I add a bookmark entry programmatically?

Bookmarks or the Quick Connect dialog are the only way currently, as far as I know.

Adding them programmatically could be done by editing `/dopusdata\ftp.oxc`, which is a fairly simple XML file. There isn't a proper command or scripting object to add them at the moment.
