Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
png
MoveFromFTP.png 37.0 kB 1 11-May-2023 13:14 Sandor
png
rec_copy1.png 35.9 kB 3 11-May-2023 13:05 Sandor
png
rec_copy2.png 35.6 kB 2 11-May-2023 13:05 Sandor
png
rec_copy3.png 12.6 kB 1 02-May-2022 09:16 Sandor
png
rec_copy4.png 38.4 kB 4 11-May-2023 13:04 Sandor
png
rec_del1.png 24.2 kB 1 02-May-2022 09:17 Sandor
png
rec_del2.png 34.1 kB 2 11-May-2023 13:05 Sandor
png
rec_del3.png 16.6 kB 1 02-May-2022 09:17 Sandor

This page (revision-8) was last changed on 11-May-2023 13:15 by Sandor

This page was created on 28-Apr-2022 09:58 by Halmágyi Árpád

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 changed one line
UNDER CONSTRUCTION
!Find folders with nested subfolders and files, copy or move them to another location preserving the inner folder structure (Recursive Copy/Move).\\
At line 3 changed one line
!Find folders with nested subfolders and files, copy them to another location preserving the folder structure (Recursive Copy).\\
The job is made up of a Find -> MakeDirectory -> Copy task chain with a little tweak.
At line 5 changed one line
I configured a VFS pointing to a legacy FTP server in the User Manager VFS.
[attachments|rec_copy1.png]
At line 7 changed one line
[attachments|vfs.png]
Point the Find task to the parent folder of the folder structure you wish to copy. In my case, the parent folder is the Source/ folder, and want to find anything in the ABC folder including that, hence the Find Filter. Keep in mind, that we do a match against the full source URL, this is the reason for the */ABC* filter syntax.
The 'Use absolute paths' must be DISABLED. Adjust the Depth of the folder structure according to your environment and optionally adjust the age according to your goals.
At line 9 changed one line
Then I created a new job in the [Jobs] tab to perform a test against this scenario.
[attachments|rec_copy2.png]
At line 11 changed one line
[attachments|jobs1.png]
Point the MakeDirectory task to the target folder, and use the {parent_path} variable at the end of the URL after Browsing the folder.
At line 13 changed one line
First step is to find a file so we have it for our collection.
[attachments|rec_copy3.png]
At line 15 changed one line
[attachments|jobs2.png]
Browse the same destination folder in the Coy task you have used in the MakeDirectory, but this time the variable at the end is {path}. Optionally can increase the threads if there are multiple smaller files, and can convert the Copy task to Move with one click
At line 17 changed one line
I first sent a file directly to the server bypassing a loopback through the internal VFS (you loose event notifications doing this.)
[attachments|rec_copy4.png]
At line 19 removed one line
[attachments|jobs3.png]
At line 21 changed one line
Then I forwarded the file through my internal VFS that points to the legacy server running somewhere else.
The Recursive Delete
This scenario is more simple, the difference is that the 'Use absolute paths' option has to be ENABLED.
You might want to decrease the retrying seconds, but otherwise, the defaults of the Delete task are right.
At line 23 changed one line
[attachments|jobs4.png]
[attachments|rec_del1.png]
At line 25 changed one line
Next I wait for the prior two multi threaded jobs to complete the sending of the files.
[attachments|rec_del2.png]
At line 27 changed 7 lines
[attachments|jobs5.png]
Then I send an email receipt confirming the files were sent.
[attachments|jobs6.png]
Last is the running of the job and its results.
[attachments|rec_del3.png]
Version Date Modified Size Author Changes ... Change note
8 11-May-2023 13:15 1.506 kB Sandor to previous
7 11-May-2023 13:14 1.424 kB Sandor to previous | to last
6 11-May-2023 13:13 1.42 kB Sandor to previous | to last
5 11-May-2023 13:08 1.205 kB Sandor to previous | to last
4 02-May-2022 09:24 1.555 kB Sandor to previous | to last
3 02-May-2022 09:19 1.6 kB Sandor to previous | to last
2 29-Apr-2022 03:11 1.034 kB Sandor to previous | to last
1 28-Apr-2022 09:58 0.958 kB Halmágyi Árpád to last
« This page (revision-8) was last changed on 11-May-2023 13:15 by Sandor
G’day (anonymous guest)
CrushFTP10 | What's New

Referenced by
CrushTask

JSPWiki