Project

General

Profile

Actions

Bug #4334

closed

Technique "Download From A Shared Folder": copy files to directory destination doesn't work

Added by Nicolas PERRON over 10 years ago. Updated about 7 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

With Download From A Shared Folder, #3646 lead to have a file with name of a directory instead of placing the file in the destination directory.
What is more unfortunate here is that if we copy a file in a path requiring a directory with the same name than a file it will not work.

Example 1:
- /tmp/foo is a directory
- we want to copy file1 in /tmp/foo with "/tmp/foo/" in destination in the Directive
- result: /tmp/foo will be replaced by the content of file1 (cf #3646)

Example 2:
- /tmp/foo is a file
- file2 is another file
- we want to copy file2 in /tmp/foo/bar/baz
- result: the folder /tmp/foo will not be able to be created since a file with the same name already exist

Now, imagine that you made the first mistake, you will have to delete the wrong file (/tmp/foo) before to apply the second example without error.

I suppose we should propose to enforce or not a file/directory during the copy ?


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #3646: Technique "Dowload a file from shared-folder" is not working properly with a source file and a directory as destinationRejectedAlexis Mousset2013-06-12Actions
Is duplicate of Rudder - Bug #10312: "Download files from the shared folder" behaving badly?ReleasedNicolas CHARLESActions
Actions

Also available in: Atom PDF