FTP repo with OCC command

Ask all your questions regarding OC 8.2 Please read the Support Forum Rules
Forum rules
The forums were migrated over to https://central.owncloud.org which is based on the forum software Discourse. The forums here is put into read-only mode starting from today.

More background information about this move and the reasoning behind it is available in this blogpost:

https://daniel.molkentin.net/2016/07/20 ... d-central/
VincentViseux
Beginner
Posts: 11
Joined: Wed Feb 17, 2016 4:24 pm
ownCloud version: 8.2.0
Webserver: Apache
Database: PostgreSQL
OS: Linux
PHP version: 5.4.16

FTP repo with OCC command

Postby VincentViseux » Wed Feb 17, 2016 4:28 pm

Environment: Linux

Server: Apache

Database: Postgres

Client:

OC-Version: 8.2

PHP-Version: 5.4.16


Hi everybody,

How can I create FTP repo for my FTP user with occ command ?
I would like to use command line in order to automate my application.

Thx
Last edited by VincentViseux on Thu Feb 18, 2016 11:12 am, edited 1 time in total.

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: p

Postby RealRancor » Wed Feb 17, 2016 5:13 pm

Hi,

please describe with a little bit more details what you want to achieve and also please update your thread title.
*gone*

VincentViseux
Beginner
Posts: 11
Joined: Wed Feb 17, 2016 4:24 pm
ownCloud version: 8.2.0
Webserver: Apache
Database: PostgreSQL
OS: Linux
PHP version: 5.4.16

Re: FTP repo with OCC command

Postby VincentViseux » Thu Feb 18, 2016 11:21 am

Hi Real,

I have a script to create an user with FTP access.
I would like to know if I can connect the user's repo with occ command instead of the GI.
Imagine if I had to create XXX users, I will repeat this operations XXX time :

owncloud_forum.PNG
owncloud_forum.PNG (29.19 KiB) Viewed 309 times



Is there a command like this ?

php occ command:addrepo --user --userpassword --port --host

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: FTP repo with OCC command

Postby RealRancor » Thu Feb 18, 2016 11:32 am

Hi,

just run the occ command like:

./occ

or similar and you will see all available commands. As an alternative you can also use the config files like described here:

https://doc.owncloud.org/server/8.2/adm ... ation.html
*gone*

VincentViseux
Beginner
Posts: 11
Joined: Wed Feb 17, 2016 4:24 pm
ownCloud version: 8.2.0
Webserver: Apache
Database: PostgreSQL
OS: Linux
PHP version: 5.4.16

Re: FTP repo with OCC command

Postby VincentViseux » Thu Feb 18, 2016 11:40 am

When I create a repo FTP with the GI.

Like :

owncloud_forum.PNG
owncloud_forum.PNG (29.19 KiB) Viewed 307 times


Where is the config file correspond to the repo ?

Thx

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: FTP repo with OCC command

Postby RealRancor » Thu Feb 18, 2016 12:38 pm

Hi,

read the linked documentation above.
*gone*

VincentViseux
Beginner
Posts: 11
Joined: Wed Feb 17, 2016 4:24 pm
ownCloud version: 8.2.0
Webserver: Apache
Database: PostgreSQL
OS: Linux
PHP version: 5.4.16

Re: FTP repo with OCC command

Postby VincentViseux » Thu Feb 18, 2016 2:46 pm

I just find ! Thank's Real !

Just last question.

How are encrypted the password ? Which function ?

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: FTP repo with OCC command

Postby RealRancor » Thu Feb 18, 2016 3:17 pm

Hi,

that is probably something you should either ask in a new thread or even better the developers at the developers mailinglist.
*gone*


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Server 8.2”

Who is online

Users browsing this forum: No registered users and 3 guests