• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

SFTP URL?

Version
4.2.4
PHP version
8.2.27
Database driver
MySQL
Database version
8.0.39
Web browser
Firefox

aqqtran

Chevereto Member
Hey all, I've set up SFTP storage but I'm having a bit of trouble figuring how to set up the URL field?

I just put whatever in this field and have been able to upload files just fine. But when it comes to downloading those files I'm at a loss.

1738065247720.png

I understand that this would be useful for S3 storage but I'm unsure if there is something I need to set up?

The documentation doesn't really say anything about it https://v4-admin.chevereto.com/features/external-storage.html#sftp
 
The storage server must provide the URL for public-read file access. Check the documentation of your service provider.

Chevereto only stores that URL, it won't "serve" the contents of that URL. Chevereto only does the mapping (database row -> external storage url location).

The URL depends on your SFTP, which should provide HTTP.
 


Chevereto only stores that URL, it won't "serve" the contents of that URL. Chevereto only does the mapping (database row -> external storage url location).

The URL depends on your SFTP, which should provide HTTP.
Hey @Rodolfo thanks for replying so soon!

I wasn't aware that SFTP could be served via HTTP. I don't think my server provides HTTP.

Do you know of any SFTP storage providers that do HTTP?

Unless you mean WebDAV?
 
SFTP is a protocol, same as HTTP.

The SFTP Storage API exists because is common for some providers to include SFTP+HTTP combo in their offering. If this provider doesn't get you HTTP then the usability for Chevereto is next to zero and perhaps you should be better with S3 Compatible API.

Providers like https://www.backblaze.com/ offer cheap S3 Compatible hosting with HTTP access, just make sure to disable versioning.
 
Hey @Rodolfo thanks for replying so soon!

I wasn't aware that SFTP could be served via HTTP. I don't think my server provides HTTP.

Do you know of any SFTP storage providers that do HTTP?

Unless you mean WebDAV?
I mean, ServerOptima has been an s3 compatible storage solution that seems to work for my website (SunnyBlueSkies), it's $5 a month per TB but it works for someone who's trying to start their website and would eventually need to migrate over to a cloud storage provider/cdn.

By the way, versioning is besides some of the technical problems I've come across. The other is that chereveto reports an internal server error on some uploads which means I'd have to submit a report for you soon. @Rodolfo
 
Is it possible to do without http? Why can't you just upload via sftp and then send the file via it. I want to use storage vps simply via sftp
Any URL will work, Chevereto is not in charge of serving that content. It only maps the storage to that a URL, you are in charge of setup servicing for the URL you provide.
 
Any URL will work, Chevereto is not in charge of serving that content. It only maps the storage to that a URL, you are in charge of setup servicing for the URL you provide.
Does it just address it? It's just that in this case, instead of sftp, I need to configure an entire web server on storage vps
 
While you may get a FTP url like ftp:// and access to it via a web browser, these are different protocols that suit different purposes. Chevereto restricts the Storage URL to the HTTP protocol because that's what browsers expect and what works best.

Technically there's no reason to limit the protocol besides to drive users, as a matter of fact you could try setting a dummy http URL and change it to FTP protocol in the database at chv_storages.

We could consider adding more protocol support to the Storage URL, feel free to open a RFC.
 
Back
Top