<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Keith,<br>
<br>
I would very much like to see this, if you could be so kind!<br>
<br>
How do you limit who/where can use the automated version?<br>
I was thinking that you could automate the "Send a Request for a
Drop-off" process but leave the actual file upload process alone.
Then you can put much tighter controls on who/what can automatically
create a request, and you don't have to tweak the remote user's
upload experience at all.<br>
<br>
Thanks!<br>
Jules.<br>
<br>
<div class="moz-cite-prefix">On 11/04/2019 10:26 pm, Keith Erekson
via ZendTo wrote:<br>
</div>
<blockquote type="cite"
cite="mid:WM!6645ad4d44a0c03253152ebc24368a8a8e4df0a923c7fb7756e8cd9589e2dfdafb6737aed17a3becd26281a8d0f357f6!@mx.jul.es">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>The previous implementation of this project, back when it was
the "UD Dropbox" had some sort of "custom upload form"
functionality.</p>
<p>I don't remember exactly what they called it, and 30 seconds of
Googling hasn't turned up a download location for their code,
but it's essentially a stripped-down UI that lets you (the
admin) hard-code the recipient info, so people can't screw up
the file transfer. </p>
<p>This feature was dropped from ZendTo, but we've been
forward-porting it for years, as some of our departments depend
on it for various reasons.</p>
<p>Using it requires some modifications to ZendTo, to allow
uploads without the CAPTCHA verification. (By which I mean: we
have been too lazy to implement the CAPTCHA in our custom
dropoff interface; it was implemented before ZendTo had a
CAPTCHA.)<br>
</p>
<p>It wouldn't be possible to use this directly from a script
(e.g., curl -X POST ...), as it still uses JavaScript, but you
could possibly use it as a starting point to add a similar API
interface.</p>
<p>If there's interest, I can post some sanitized git diffs and/or
some documentation about how it works.<br>
</p>
<p>~Keith<br>
</p>
<div class="moz-cite-prefix">On 4/5/19 11:29 AM, Neil via ZendTo
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:WM!cb366a4cd40d02d1e3dbaba8aecd6998c3656bc8d7a9f7e54101f7a1ee2f43ba7c8f2ede649979cd954e18715cc0e1fc254cdd5c288e9e6407d02bb387b8ea93!@mx.jul.es">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
I have had a quick look through recent archives, and I can’t see
anything on this, but apologies if it has been covered already.
<div class=""><br class="">
</div>
<div class="">Does anyone have an example of using zend.to in a
scripted manner, rather than through the web browser?</div>
<div class=""><br class="">
</div>
<div class="">I can think of a number of occasions where it
would be useful to be able to generate a zend.to drop-off
request (to have someone drop a file off for me) without me
needing to log in to the UI and do it. I suspect it can be
done quite readily with curl, but I wonder if someone has
already tackled this and would be willing to share the output?</div>
<div class=""><br class="">
</div>
<div class="">Best wishes<br class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px; word-wrap: break-word;
-webkit-nbsp-mode: space; line-break: after-white-space;"
class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
text-align: start; text-indent: 0px; text-transform:
none; white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px; word-wrap: break-word;
-webkit-nbsp-mode: space; line-break:
after-white-space;" class=""><br class="">
Neil<br class="">
<br class="">
<br class="">
</div>
</div>
</div>
<br class="">
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to" moz-do-not-send="true">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://jul.es/mailman/listinfo/zendto" moz-do-not-send="true">http://jul.es/mailman/listinfo/zendto</a>
</pre>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-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://jul.es/mailman/listinfo/zendto">http://jul.es/mailman/listinfo/zendto</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
The current UK shipping forecast:
Biscay: Variable, mainly northeast, 3 or 4, occasionally 5 later. Moderate.
Showers. Good.
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
</pre>
</body>
</html>