Jump to content
Sign in to follow this  
bsg

2.864 Plugin Upload Bug?

Recommended Posts

Am upgrading to SuperContainer 2.864 and the 2.864 plugin however am running into an issue on my test server. Downloading works fine however when uploading it names the file as the last folder and loses the extension (.pdf in my case).

Am using the same script that I have used with 2.82 (that has been used to upload thousands of documents)

The script is basically like this:

Set Variable[$whatever; Value: SCSetBaseURL( “http://myservername/SuperContainer/Files/” ) ]

Set Variable[$selectedfile; Value: SCChooseFile( "" )]

Set Variable [ $plugSet; Value: SCSetContainer( “/PATIENT/0/82/82831?”; $selectedfile ) ]

So in this case it named the document 82831 without the extension. In my live SuperContainer 2.82 plugin/server it would put the document in the 82831 folder and leave the filename the same as it was (and with its’ extension).

Share this post


Link to post
Share on other sites

by removing the ? and forcing the "filename=name.pdf" that made it work. Assume there has been some behavior changes from 2.82 to 2.864?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.