mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2026-02-06 03:19:02 -06:00
added option to next cloud for set working file
This commit is contained in:
@@ -28,7 +28,7 @@ public class UploadToNextcloud : Node
|
||||
/// <summary>
|
||||
/// Gets or sets the destination path
|
||||
/// </summary>
|
||||
[Folder(1)]
|
||||
[TextVariable(1)]
|
||||
public string DestinationPath { get; set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
@@ -36,6 +36,12 @@ public class UploadToNextcloud : Node
|
||||
/// </summary>
|
||||
[TextVariable(2)]
|
||||
public string File { get; set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets if the working file should be updated to the nextcloud file
|
||||
/// </summary>
|
||||
[Boolean(3)]
|
||||
public bool SetWorkingFile { get; set; }
|
||||
|
||||
public override int Execute(NodeParameters args)
|
||||
{
|
||||
@@ -92,6 +98,12 @@ public class UploadToNextcloud : Node
|
||||
}
|
||||
|
||||
args.Logger?.ILog("File successfully uploaded");
|
||||
if (SetWorkingFile)
|
||||
{
|
||||
args.Logger?.ILog("Setting working file to: nc:" + destination);
|
||||
args.SetWorkingFile("nc:" + destination);
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
/// <summary>
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
"DestinationPath": "Ziel",
|
||||
"DestinationPath-Help": "Der Speicherort und der Dateiname, d.h. der vollständige Pfad, der Datei in Nextcloud.",
|
||||
"File": "Datei",
|
||||
"File-Help": "Die Datei, die hochgeladen werden soll. Leer lassen, um die aktuelle Arbeitsdatei zu verwenden."
|
||||
"File-Help": "Die Datei, die hochgeladen werden soll. Leer lassen, um die aktuelle Arbeitsdatei zu verwenden.",
|
||||
"SetWorkingFile": "Arbeitsdatei festlegen",
|
||||
"SetWorkingFile-Help": "Legt den hochgeladenen Nextcloud-Pfad als Arbeitsdatei fest. Verwenden Sie dies nur am Ende eines Flusses, da diese Datei als endgültige Ausgabe markiert wird. Nachfolgende Flusselemente, die die Arbeitsdatei benötigen, funktionieren dann nicht wie erwartet."
|
||||
},
|
||||
"Outputs": {
|
||||
"1": "Wurde erfolgreich nach Nextcloud hochgeladen",
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
"DestinationPath": "Destination",
|
||||
"DestinationPath-Help": "The location and filename, i.e. the full path, of the file in Nextcloud.",
|
||||
"File": "File",
|
||||
"File-Help": "The file to upload, leave empty to use the current working file."
|
||||
"File-Help": "The file to upload, leave empty to use the current working file.",
|
||||
"SetWorkingFile": "Set Working File",
|
||||
"SetWorkingFile-Help": "Sets the uploaded Nextcloud path as the working file. Use this only at the end of a flow, as this file will be marked as the final output. Any subsequent flow elements requiring the working file will not function as expected."
|
||||
},
|
||||
"Outputs": {
|
||||
"1": "Was successfully uploaded to Nextcloud",
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
"DestinationPath": "Destino",
|
||||
"DestinationPath-Help": "La ubicación y el nombre del archivo, es decir, la ruta completa, del archivo en Nextcloud.",
|
||||
"File": "Archivo",
|
||||
"File-Help": "El archivo a subir, deja vacío para usar el archivo de trabajo actual."
|
||||
"File-Help": "El archivo a subir, deja vacío para usar el archivo de trabajo actual.",
|
||||
"SetWorkingFile": "Establecer archivo de trabajo",
|
||||
"SetWorkingFile-Help": "Establece la ruta de Nextcloud subida como archivo de trabajo. Úselo solo al final de un flujo, ya que este archivo se marcará como el resultado final. Los elementos de flujo subsiguientes que necesiten el archivo de trabajo no funcionarán como se espera."
|
||||
},
|
||||
"Outputs": {
|
||||
"1": "Se subió correctamente a Nextcloud",
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
"DestinationPath": "Destination",
|
||||
"DestinationPath-Help": "L'emplacement et le nom de fichier, c'est-à-dire le chemin complet, du fichier dans Nextcloud.",
|
||||
"File": "Fichier",
|
||||
"File-Help": "Le fichier à télécharger, laissez vide pour utiliser le fichier de travail actuel."
|
||||
"File-Help": "Le fichier à télécharger, laissez vide pour utiliser le fichier de travail actuel.",
|
||||
"SetWorkingFile": "Définir le fichier de travail",
|
||||
"SetWorkingFile-Help": "Définit le chemin Nextcloud téléchargé comme fichier de travail. Utilisez cette option uniquement à la fin d'un flux, car ce fichier sera marqué comme résultat final. Les éléments de flux suivants nécessitant le fichier de travail ne fonctionneront pas comme prévu."
|
||||
},
|
||||
"Outputs": {
|
||||
"1": "A été téléchargé avec succès sur Nextcloud",
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
"DestinationPath": "Destinazione",
|
||||
"DestinationPath-Help": "La posizione e il nome del file, ossia il percorso completo, del file in Nextcloud.",
|
||||
"File": "File",
|
||||
"File-Help": "Il file da caricare, lascia vuoto per utilizzare il file di lavoro corrente."
|
||||
"File-Help": "Il file da caricare, lascia vuoto per utilizzare il file di lavoro corrente.",
|
||||
"SetWorkingFile": "Imposta file di lavoro",
|
||||
"SetWorkingFile-Help": "Imposta il percorso Nextcloud caricato come file di lavoro. Utilizzalo solo alla fine di un flusso, poiché questo file verrà contrassegnato come output finale. Gli elementi di flusso successivi che richiedono il file di lavoro non funzioneranno come previsto."
|
||||
},
|
||||
"Outputs": {
|
||||
"1": "È stato caricato con successo su Nextcloud",
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
"DestinationPath": "宛先",
|
||||
"DestinationPath-Help": "Nextcloud内のファイルの場所とファイル名、すなわち完全なパス。",
|
||||
"File": "ファイル",
|
||||
"File-Help": "アップロードするファイル。現在の作業ファイルを使用するには空白のままにします。"
|
||||
"File-Help": "アップロードするファイル。現在の作業ファイルを使用するには空白のままにします。",
|
||||
"SetWorkingFile": "作業ファイルを設定",
|
||||
"SetWorkingFile-Help": "アップロードされたNextcloudパスを作業ファイルとして設定します。これをフローの最後にのみ使用してください。このファイルは最終出力としてマークされ、以降のフロー要素で作業ファイルが必要な場合、期待通りに動作しません。"
|
||||
},
|
||||
"Outputs": {
|
||||
"1": "Nextcloudに正常にアップロードされました",
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
"DestinationPath": "대상",
|
||||
"DestinationPath-Help": "Nextcloud에서 파일의 전체 경로와 파일 이름입니다.",
|
||||
"File": "파일",
|
||||
"File-Help": "업로드할 파일로, 현재 작업 파일을 사용하려면 비워 두세요."
|
||||
"File-Help": "업로드할 파일로, 현재 작업 파일을 사용하려면 비워 두세요.",
|
||||
"SetWorkingFile": "작업 파일 설정",
|
||||
"SetWorkingFile-Help": "업로드된 넥스트클라우드 경로를 작업 파일로 설정합니다. 이 파일은 최종 출력으로 표시되므로 흐름의 끝에서만 사용하십시오. 작업 파일이 필요한 후속 흐름 요소는 예상대로 작동하지 않습니다."
|
||||
},
|
||||
"Outputs": {
|
||||
"1": "Nextcloud에 성공적으로 업로드되었습니다.",
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
"DestinationPath": "Bestemming",
|
||||
"DestinationPath-Help": "De locatie en bestandsnaam, d.w.z. het volledige pad, van het bestand in Nextcloud.",
|
||||
"File": "Bestand",
|
||||
"File-Help": "Het bestand dat geüpload moet worden, laat leeg om het huidige werkbestand te gebruiken."
|
||||
"File-Help": "Het bestand dat geüpload moet worden, laat leeg om het huidige werkbestand te gebruiken.",
|
||||
"SetWorkingFile": "Werkbestand instellen",
|
||||
"SetWorkingFile-Help": "Stelt het geüploade Nextcloud-pad in als werkbestand. Gebruik dit alleen aan het einde van een stroom, aangezien dit bestand als eindresultaat wordt gemarkeerd. De daaropvolgende stroomelementen die het werkbestand nodig hebben, werken dan niet zoals verwacht."
|
||||
},
|
||||
"Outputs": {
|
||||
"1": "Met succes geüpload naar Nextcloud",
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
"DestinationPath": "Destino",
|
||||
"DestinationPath-Help": "A localização e o nome do arquivo, ou seja, o caminho completo do arquivo no Nextcloud.",
|
||||
"File": "Arquivo",
|
||||
"File-Help": "O arquivo a ser enviado, deixe em branco para usar o arquivo de trabalho atual."
|
||||
"File-Help": "O arquivo a ser enviado, deixe em branco para usar o arquivo de trabalho atual.",
|
||||
"SetWorkingFile": "Definir Arquivo de Trabalho",
|
||||
"SetWorkingFile-Help": "Define o caminho do Nextcloud carregado como o arquivo de trabalho. Use isso apenas no final de um fluxo, pois este arquivo será marcado como o resultado final. Elementos de fluxo subsequentes que precisem do arquivo de trabalho não funcionarão conforme esperado."
|
||||
},
|
||||
"Outputs": {
|
||||
"1": "Foi enviado com sucesso para o Nextcloud",
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
"DestinationPath": "Назначение",
|
||||
"DestinationPath-Help": "Местоположение и имя файла, т.е. полный путь, файла в Nextcloud.",
|
||||
"File": "Файл",
|
||||
"File-Help": "Файл для загрузки, оставьте пустым, чтобы использовать текущий рабочий файл."
|
||||
"File-Help": "Файл для загрузки, оставьте пустым, чтобы использовать текущий рабочий файл.",
|
||||
"SetWorkingFile": "Установить рабочий файл",
|
||||
"SetWorkingFile-Help": "Устанавливает загруженный путь Nextcloud в качестве рабочего файла. Используйте это только в конце потока, так как этот файл будет отмечен как финальный результат. Последующие элементы потока, которым требуется рабочий файл, не будут работать должным образом."
|
||||
},
|
||||
"Outputs": {
|
||||
"1": "Успешно загружено в Nextcloud",
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
"DestinationPath": "Mål",
|
||||
"DestinationPath-Help": "Platsen och filnamnet, dvs. den fullständiga sökvägen, för filen i Nextcloud.",
|
||||
"File": "Fil",
|
||||
"File-Help": "Fil som ska laddas upp, lämna tomt för att använda den aktuella arbetsfilen."
|
||||
"File-Help": "Fil som ska laddas upp, lämna tomt för att använda den aktuella arbetsfilen.",
|
||||
"SetWorkingFile": "Ställ in arbetsfil",
|
||||
"SetWorkingFile-Help": "Ställer in den uppladdade Nextcloud-sökvägen som arbetsfil. Använd detta endast i slutet av ett flöde, eftersom denna fil markeras som slutgiltig utdata. Efterföljande flödeselement som behöver arbetsfilen kommer inte att fungera som förväntat."
|
||||
},
|
||||
"Outputs": {
|
||||
"1": "Har framgångsrikt laddats upp till Nextcloud",
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
"DestinationPath": "目的地",
|
||||
"DestinationPath-Help": "文件在Nextcloud中的位置和文件名,即完整路径。",
|
||||
"File": "文件",
|
||||
"File-Help": "要上传的文件,留空以使用当前工作文件。"
|
||||
"File-Help": "要上传的文件,留空以使用当前工作文件。",
|
||||
"SetWorkingFile": "设置工作文件",
|
||||
"SetWorkingFile-Help": "将上传的Nextcloud路径设置为工作文件。仅在流程结束时使用此设置,因为该文件将被标记为最终输出。任何需要工作文件的后续流程元素将无法正常运行。"
|
||||
},
|
||||
"Outputs": {
|
||||
"1": "已成功上传到Nextcloud",
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
"DestinationPath": "目的地",
|
||||
"DestinationPath-Help": "文件在Nextcloud中的位置和文件名,即完整路徑。",
|
||||
"File": "文件",
|
||||
"File-Help": "要上傳的文件,留空以使用當前工作文件。"
|
||||
"File-Help": "要上傳的文件,留空以使用當前工作文件。",
|
||||
"SetWorkingFile": "設定工作檔案",
|
||||
"SetWorkingFile-Help": "將上傳的Nextcloud路徑設為工作檔案。僅在流程結束時使用此設置,因為該檔案將被標記為最終輸出。需要工作檔案的後續流程元素將無法正常運行。"
|
||||
},
|
||||
"Outputs": {
|
||||
"1": "已成功上傳到Nextcloud",
|
||||
|
||||
Reference in New Issue
Block a user