<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Joe,<br>
<br>
if you just need something that allows you to show the files
correctly, you can try the attached<br>
Bash Script that I use on my ZendTo Server.<br>
It is called "dropls".<br>
<br>
Open the script, add your SQL-Credentials for the zendto database
and copy it to folder that is reachable<br>
by your PATH variable.<br>
<br>
cd into /var/zendto/dropoffs, then type dropls.<br>
<br>
The output looks like this:<br>
<br>
700 drwx------ 2 apache apache 4096 October 15 07:56
wbwqMmcCGKoxfrtP from: <a class="moz-txt-link-abbreviated" href="mailto:tester1@test.com">tester1@test.com</a> to: <a class="moz-txt-link-abbreviated" href="mailto:external1@external.com">external1@external.com</a><br>
700 drwx------ 2 apache apache 4096 October 15 13:34
3rEjNhKoKTz2D2s4 from: </tt><tt><tt><a class="moz-txt-link-abbreviated" href="mailto:tester2@test.com">tester2@test.com</a> to:
<a class="moz-txt-link-abbreviated" href="mailto:external2@external.com">external2@external.com</a><br>
</tt>700 drwx------ 2 apache apache 4096 October 15 13:49
rxUHtmsZ23yohCFt from: </tt><tt><a class="moz-txt-link-abbreviated" href="mailto:tester3@test.com">tester3@test.com</a> to:
<a class="moz-txt-link-abbreviated" href="mailto:external3@external.com">external3@external.com</a><br>
<br>
You can then cd into the subfolder, e.g. <br>
<br>
cd </tt><tt>wbwqMmcCGKoxfrtP<br>
<br>
and type dropls again to see:<br>
<br>
644 -rw-r--r-- 1 apache apache 25378460 October 15 07:56 phph0AW21
"Project Documentation No 1234567.zip" uploaded by:
<a class="moz-txt-link-abbreviated" href="mailto:tester1@test.com">tester1@test.com</a><br>
<br>
The output is also a little bit colored.<br>
<br>
I hope you find the script useful.<br>
<br>
Kind regards<br>
<br>
PCFreak<br>
<br>
</tt>
<div class="moz-cite-prefix">On 21.10.2015 23:19, <a class="moz-txt-link-abbreviated" href="mailto:joekane@gmail.com">joekane@gmail.com</a>
wrote:<br>
</div>
<blockquote
cite="mid:CAFwebm9-06EHF0qkeArnsSGahrcd_pun=mRcxKePQYr8ZEkfwg@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>First thank you Julian for your excellent work on this, I'm
using zendto for an internal project and need to remove the
random key that's generated for the file name and directory.</div>
<div><br>
</div>
<div>I would like to keep the file-name the same as 'basename'
and the directory name to use the 'senderOrganization' name.</div>
<div><br>
</div>
<div>I believe its setup currently,</div>
<div><br>
</div>
<div>
<div>Folder = 'claimID'<br>
</div>
<div>Filename = 'tmpname'</div>
</div>
<div><br>
</div>
<div>I would like</div>
<div><br>
</div>
<div>Folder = 'senderOrganization'</div>
<div>Filename = 'basename'</div>
<div><br>
</div>
<div>I understand this negates the security feature that comes
with hashing the folder/file names.</div>
<div>I am digging around NSSDropoff.php and NSSUtils.php to
change the random file/folder name generation but maybe
someone can point me in the right direction. I am by no means
a php expert.</div>
<div><br>
</div>
<div>Thanks again, Joe</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
</blockquote>
<br>
</body>
</html>