How to access a file directly from the terminal

Hello,

I would like to use Seafile to store my code under development. I uploaded some PHP files and I need to run a cron with them every 6 hours.

But I didn’t find a way to access the files directly.
Is there any way to do this with Seafile? Note: I did not encrypt the files.

1 Like

You can read (not modify) the files of an unencrypted library with the help of seaf-fuse:
https://download.seafile.com/published/seafile-manual/extension/fuse.md

I never tried that, but it could be that you get some permission problems, if you want to run code from a file mounted with seaf-fuse.

Adding to Bernie_O’s advice, you can access your files via WebDAV (which is probably the more common way). In short:

  • Enable Seafile’s WebDAV interface
  • Configure webserver for WebDAV access
  • Mount Seafile via WebDAV
  • Access files

https://download.seafile.com/published/seafile-manual/extension/webdav.md

Sounds good

But if I do that I won’t be able to run the PHP script code I want. Is correct ?

Is it possible to integrate a directory via FTP and Seafile does not automatically encrypt this directory, for example?

No, not possible

The link is dead…

Sorry, but the requested page could not be found.

A simple search for seafile webdav gives you:
https://manual.seafile.com/extension/webdav/

remeber, if you run seafile in docker, seafuse is rather complicated. but you can use webdav and rclone to mount a seafile library in your linux host directly. However, it is recommended to use this mainly for read-access…