No announcement yet.

SC8 upload documents to another file server like AWS S3

  • Filter
  • Time
  • Show
Clear All
new posts

  • SC8 upload documents to another file server like AWS S3


    We know the scriptcase supports to upload documents to the local file system through specifying field type as document type. But now we are required to upload documents to another file server like Amazon S3. Is there a way to do it?



  • #2
    With something like cloudberry drive yes it can be done fairly easily. Or webDrive or any other.
    If you only want to move it to a remote windows/linux server, yes. Make a link to the remote server in the server where you have scriptcase running. Allow the apache scriptcase service (assuming you run windows) to have access to the remote drive with the proper rights and then save into the linked dir.

    e.g. say you have \\remoteserver\docs then make a link c:\scriptcasedocs linking to that \\remoteserver\docs
    Check out

    Links stay active even after a reboot. As long as the rights are still ok they keepworking fine.


    • #3
      Thanks a lot for the suggestion. Very appreciated!

      We found that AWS provides a SDK to enable us to use its stream wrapper to access remote file system. But how can we integrate the AWS into Scriptcase? (i.e. how to let scriptcase to access the classes and functions defined in the sdk). Since these calsses are defined under Aws namespace, how can we access the classes defined under different namespace?

      Last edited by scheng; 09-20-2014, 10:27 AM.


      • #4
        Well as I said I would choose a product that works on the level of the operating system. Hence without sdk. Then: if you are on the server where your scriptcase is deployed then you should be able to reach the remote cloud using that tool.
        See for example:

        But if you insist in using the AWS SDK then I think you need to dive into
        I have no experience with this one but I see a SOAP and a REST api, both are supported by standard php, there are some examples there I saw. So you either use a product like gladinet
        and work on OS level or you use the SDK. may be intersting for you.. this looks like your main info I guess.