<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Hi Philip,<br>
    <br>
    Switching off allowExternalUploads does a complete job of "what it
    says on the tin". It stops all users who cannot actually login from
    being able to upload files. That way only internal users can send
    files, which is what some people want.<br>
    <br>
    Hope that helps,<br>
    Jules.<br>
    <br>
    <div class="moz-cite-prefix">On 20/02/2023 08:47, Philip Blakely via
      ZendTo wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:WM!69549c897767386557b678104dd876fbfe483596dc15f0a21b99f7f652d7eb1c3c23e2034b6420733668f1e8d2ea29ba!@mx.jul.es">Hello,
      <br>
      <br>
      I'm running ZendTo version 6.13-3 for a small research group. As a
      logged-in user, I can successfully create a request for an
      external user to send me a file.
      <br>
      <br>
      However, the person dropping off the file via the request link
      then gets the error message (after uploading the file):
      <br>
      "You must be logged in as a XXXX user in order to drop-off a file
      for a non-XXXX user."
      <br>
      <br>
      In case it's relevant, I have set:
      <br>
      'allowExternalUploads' => FALSE
      <br>
      'allowExternalPickups' => FALSE,
      <br>
      (although I don't think these are relevant to this problem, from
      the documentation).
      <br>
      <br>
      I *think* the error is in NSSDropbox.php, line 2769:
      <br>
      if ( !$this->_dropbox->authorizedUser() && !
      $checkRD)
      <br>
      <br>
      does not allow unauthorized (e.g. external) users to drop-off for
      anyone, even if they've got a request code.
      <br>
      <br>
      I think this should be (possibly):
      <br>
      if ( !($this->_dropbox->authorizedUser() || $req != '')
      && ! $checkRD )
      <br>
      <br>
      (at least this made it work for me).
      <br>
      <br>
      On the other hand, I can send a fuller preferences.php or more
      logs in case there's some odd combination of settings or
      circumstances that has caused this to happen, or any documentation
      I've not read properly, so any suggestions or alternative fixes
      would be welcome.
      <br>
      <br>
      Thanks,
      <br>
      <br>
      Philip
      <br>
      <br>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">Jules

-- 
Julian Field MEng CEng CITP MBCS MIEEE MACM

The current UK shipping forecast:
Portland, Plymouth: Variable 2 to 4, becoming northwest 4 to 6 later. Slight
or moderate, occasionally smooth. Fog patches, rain later. Moderate or good,
occasionally very poor.

<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
</pre>
  </body>
</html>