Owncloud - How create a folder using API? - owncloud

How create a folder in ownCloud using API ?
I'm searching about it , but found nothing.
I'm using ownCloud version 8.2.1
Regards,

In their official docs you can find it here
Create a new folder
newFolder(string $path) : \OCP\Files\Folder
Parameters
$path - a string (the relative path of the folder)

Related

How to create a folder in the AppDataDirectory for a Dotnet Maui app?

With UWP one would use ApplicationData.Current.LocalFolder.CreateFolderAsync().
I can find no maui equivalent. The objective is to have seperate user folders (ie user1, user2) within the app data directory.
Have you checked the official document about the file system in the maui?
For the windows platform in the maui:
FileSystem.AppDataDirectory
Returns the LocalFolder directory that is backed up to the cloud.
You can try to create the user folder by the following code:
string mainDir =System.IO.Path.Combine(FileSystem.Current.AppDataDirectory, "user1") ;
System.IO.Directory.CreateDirectory(mainDir);

Is it possible to create a password-protected ZIP file with Flutter / Dart?

I would like to create a ZIP file that is protected with a password.
Has anyone done this before and can you give me a few tips? I couldn't find a reasonable package on pub.dev.
Plugin archive
https://pub.dev/packages/archive
Use this plugin you can do like this:
final archive = ZipDecoder().decodeBytes(
_file,
verify: true,
password: "your_password", )
You can use this unpublished plugin flutter_zip_archive just download the code and use it. For better future development add the method channels from the repo to your app with the files included in the lib folder.
This package supports zipping and unzipping the files with passwords. It also provides the privilege of adding the destination where the zip file should be stored.
PS. To encrypt a file you'll need a file available locally before zipping.

How to change alfresco start directory?

I rsync-ed from old working alfresco server entire /dir/alfresco-5.0/* to /dir/52/
52 is the name I had for alfresco dir on the new server.
Obviously this didn't work when I restarted alfresco on the new server because inside /dir/52 there are files configured to work with /dir/alfresco-5.0.
I can change the name of the directory but I'm guessing this won't work since alfresco program is configured to look at /dir/52.
I want to know how to configure alfresco to use the new name I when I change /dir/52 to /dir/alfresco-5.0.
Places in a 5.2 Alfresco installation where the Alfresco home directory might be specified:
alfresco-global.properties
catalina.sh
ctl.sh
setenv.sh
solr.in.sh
You might try a recursive grep for the old directory name starting in /dir/alfresco-5.0 to find them all.

ownCloud directory renamed / No such file or directory

I installed ownCloud on my webspace (I don't own a server), accessing it with a specific subdomain (i.e. http://sub.domain.com). I now had to rename the originally directory, which I did, and pointed the subdomain to the new directory. Sadly, ownCloud isn't working anymore. So I took a look at the log file:
"Unable to create file (...) No such file or directory"
So I guess ownCloud tries using the old path. Where can I change this setting?
Just solved the problem - had to change the
datadirectory
inside the ownCloudPath/config/config.php

JIRA home config

I am having a few issues configuring JIRA (Mac OSX 10.6.8), specifically setting my JIRA home directory. I ran the JIRA configuration tool, and defined my path. Upon running JIRA on my localhost, I get the message: No jira.home is configured. Through my terminal, I went in to edit my jira-application.properties files, and it says jira.home = /Applications/MAMP/jira/htdocs. At this point, I am not sure what I am doing wrong, as it seems jira.home is defined. Any help? Thanks.
Have a look at Setting your JIRA Home Directory and make sure you are pointing to the Jira home folder:
Edit the jira-application.properties file and set the value of the 'jira.home'
property to the desired location for your JIRA Home Directory. If you are specifying
this location's path on Windows, use double back-slashes ("\") between subdirectories.
For example, X:\\path\\to\\JIRA\‌\Home
To find where Jira home is located, have a look at JIRA Installation Directory page, the folder should contain the logs,jss and plugins folders.
So, if for example the Jira is installed at /var/atlassian/application-data/jira , the
jira-application.properties should have the following line:
jira.home = /var/atlassian/application-data/jira
Please note - Jira home directory is referring to a data directory and not the installation directory
Installing Jira on MacOS:
https://confluence.atlassian.com/display/JIRA042/Installing+JIRA+Standalone+on+Mac+OS
NOTE: Setting your Home (aka data) directory to /Applications/MAMP/jira/htdocs means that your Jira installation is located in your MAMP web root... Are you sure that's where Jira is installed? Typically, on a Mac, the home directory is located here:
/Applications/Jira/HOME