Announcement

Collapse
No announcement yet.

SC8 upload documents to another file server like AWS S3

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • SC8 upload documents to another file server like AWS S3

    Hello,

    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?

    Thanks,


    Sean

  • #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 http://technet.microsoft.com/en-us/l.../cc753194.aspx

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

    Comment


    • #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?

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

      Comment


      • #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: http://lifehacker.com/5788550/mount-...der-in-windows
        or http://mp3.about.com/od/tutorials/qt...-Hard-Disk.htm

        But if you insist in using the AWS SDK then I think you need to dive into http://docs.aws.amazon.com/aws-sdk-p...ervice-s3.html
        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.

        http://www.slideshare.net/AmazonWebS...n-web-services may be intersting for you..

        http://aws.amazon.com/sdk-for-php/ this looks like your main info I guess.

        Comment

        Working...
        X