thebodster / clients-oriented-ftp

Automatically exported from code.google.com/p/clients-oriented-ftp
0 stars 0 forks source link

bulk download #480

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to download four files at once
2. Only option when you check multiple files is to delete them.
3.

What is the expected output? What do you see instead?

Any way we can bulk download?  Am I just missing it?  Prior documentation says 
this is available in r198, but I am not seeing it.

What version of the product are you using? On what operating system?

R561, windows 8.1

Please provide any additional information below.

Original issue reported on code.google.com by Washingt...@gmail.com on 18 Jul 2014 at 10:15

GoogleCodeExporter commented 9 years ago
well, i have confirmed you can do this on client side but not on admin side.  
Any way we can do it on admin side and/or system users, not just clients?

Original comment by Washingt...@gmail.com on 24 Jul 2014 at 9:49

GoogleCodeExporter commented 9 years ago
It would be really useful as an Admin to be able to download all files from a 
specific Client Group. 

Now you can only:
Hide
Show
Disconnect
Delete

Could you give me some hints how to incorporate this function in the code?

Best regards!

Original comment by s.cozijn...@gmail.com on 7 Oct 2014 at 9:05

GoogleCodeExporter commented 9 years ago
Ok, I did some digging and came up with the following. I think it can be done 
more nicely though... Also, the modal is still not closing after the download 
has finished.

Original comment by s.cozijn...@gmail.com on 7 Oct 2014 at 9:36

GoogleCodeExporter commented 9 years ago
Forgot to remove console.log debuging. :-) Here is the new file. I did not put 
it in the  svn/trunk/manage-files.php because I think there must be a better 
way. For now my Client is happy! :-P

Original comment by s.cozijn...@gmail.com on 7 Oct 2014 at 9:41

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Does that allow you to check all the boxes you want to download or does that 
download from a specific client group as you wrote earlier?

Original comment by Washingt...@gmail.com on 7 Oct 2014 at 9:43

GoogleCodeExporter commented 9 years ago
This allows me to log in as admin and then go to:
Client Group -> Manage Groups -> Manage Files (of a group) and then select some 
or all files and download them at once just as when you log in as a Client and 
Manage your own files.

This will enable an admin/manager to quickly get all the files from the 
different clients within that certain group.

Original comment by s.cozijn...@gmail.com on 7 Oct 2014 at 9:52

GoogleCodeExporter commented 9 years ago
I want to add that I copied the code from \templates\default\template.php. I 
had to change:
<input type="checkbox" name="files[]" value="<?php echo $file["id"]; ?>" />
to
<input type="checkbox" name="files[]" value="<?php echo $row['id']; ?>" />
so the id of the file was correctly written to the value.

I also copied the jQuery part from the bottom of the template.php to 
manage-files.php. 

Because of the different ways to generate the checkbox value and the redundant 
inclusion of the jQuery code I think it has to be fixed in a more "clean" way 
than my "proof of concept" version. ;P

Original comment by s.cozijn...@gmail.com on 7 Oct 2014 at 10:05

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Well, thanks for posting this.  I don't know much about coding (i can generally 
edit some code but i can't write my own really), so it's a little lost on me, 
but i do appreciate the posts.

Original comment by Washingt...@gmail.com on 7 Oct 2014 at 10:28