- *p++ = pb_system_apps.sftp; /* 1 */
- *p++ = url->host; /* 2 */
- *p++ = url->path; /* 3 */
- *p++ = local; /* 4 */
- *p++ = NULL; /* 5 */
+ *p++ = pb_system_apps.sftp; /* 1 */
+ *p++ = talloc_asprintf(local, "%s:%s", url->host, url->path); /* 2 */
+ *p++ = local; /* 3 */
+ *p++ = NULL; /* 4 */