Results 1 to 10 of 22

Thread: File Viewer Script

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Senior Member RayC's Avatar
    Join Date
    Apr 2010
    Location
    Toronto-ish, Canada
    Posts
    1,731

    Question File Viewer Script

    I'm looking for a script to allow site visitors to view a file from a website without downloading it. I thought there'd be tonnes of these things around, but after a full shift of Googling, I'm nowhere.

    There's lots of SAAS options where you upload to their server and can view files from there. EG. DropDo, Zoho, box.net, even Google Docs. We've already got the file management part; we just need a way for authorized people to view the files directly on the site.

    I found ONE, Adeptol, that has a script and a cloud-based service to call their script and view a document on your site. The cloud-based service costs $1100/year And for the script, it's "Call Us..." (You know what that means: $$$$).

    Requirements would be:
    • View image files (jpg, gif, etc.), PDF, and maybe Excel
    • Files are viewed only online and not downloaded
    • Files are on client's server, not uploaded to a third-party, a-la DropDo
    • No pre-conversion of files (Scribd, etc.)


    Any suggestions?
    Ray Cambpell
    Sounds In Sync
    Linked in

  2. #2
    Max
    Guest

    Default Re: File Viewer Script

    Ray

    No software suggestions - but viewers are only normally required when
    unusual file types are involved. From the file types you mention, this
    is not the case - so I don't understand what you are trying to achieve.

    Max

    ----
    RayC wrote:
    I'm looking for a script to allow site visitors to view a file from a
    website without downloading it. I thought there'd be tonnes of these
    things around, but after a full shift of Googling, I'm nowhere.

    There's lots of SAAS options where you upload to -their server -and can
    view files from there. EG. DropDo, Zoho, box.net, even Google Docs.
    We've already got the file management part; we just need a way for
    authorized people to view the files directly on the site.

    I found ONE, 'Adeptol' (http://www.ajaxdocumentviewer.com/), that has a
    script and a cloud-based service to call their script and view a
    document on your site. The cloud-based service costs $1100/year
    And for the script, it's "Call Us..." (You know what that means: $$$$).

    Requirements would be:

    - View image files (jpg, gif, etc.), PDF, and maybe Excel
    - Files are viewed only online and not downloaded
    - Files are on client's server, not uploaded to a third-party, a-la
    DropDo
    - No pre-conversion of files (Scribd, etc.)


    Any suggestions?



    Ray Cambpell
    Sounds In Sync
    'Unlimited Web Hosting $5.95/month' (http://tinyurl.com/hosting595)


  3. #3
    Senior Member RayC's Avatar
    Join Date
    Apr 2010
    Location
    Toronto-ish, Canada
    Posts
    1,731

    Default

    Perhaps I wasn't clear. The idea is to display files via the website without having to download the file first. When you click on a .jpg, for instance, normally it is downloaded to your computer and then displayed. This happens in the background, but it is still in the browser cache. Alternatively, you can right-click and save the file to your hard drive.

    For security reasons, we do not want the files downloaded, either into browser cache or deliberately, but still allow site visitors to view various files that have been uploaded. Hence the file viewer idea.

    Hope that is clear.
    Ray Cambpell
    Sounds In Sync
    Linked in

  4. #4
    Senior Member gotFusion's Avatar
    Join Date
    Jan 2010
    Location
    www.gotHosting.biz
    Posts
    4,526

    Default

    Quote Originally Posted by RayC View Post
    Perhaps I wasn't clear. The idea is to display files via the website without having to download the file first. When you click on a .jpg, for instance, normally it is downloaded to your computer and then displayed. This happens in the background, but it is still in the browser cache. Alternatively, you can right-click and save the file to your hard drive.

    For security reasons, we do not want the files downloaded, either into browser cache or deliberately, but still allow site visitors to view various files that have been uploaded. Hence the file viewer idea.

    Hope that is clear.
    You are looking for this then...... http://www.artistscope.net/
    NetObjects Fusion Cloud Linux enabled Web Hosting, support + training starts at $14.95
    NetObjects Fusion web Hosting and support + ASP + PHP + ColdFusion + MySQL + MS SQL
    FREE NetObjects Fusion Support & training comes with all web hosting accounts
    NetObjects Fusion Web Hosting: http://www.gotHosting.biz

  5. #5
    Senior Member franko's Avatar
    Join Date
    Apr 2010
    Location
    Tasmania Australia
    Posts
    2,614

    Default

    Am I missing something ore am I just behind the times. Surely when a browser accesses a web page, the various files that make up that web page are dl'd to the browser and then the page is assembled for display by the browser. Even if the image is encrypted, what if the program I open it in doesn't recognise that encryption. Say I view the page with Lynx and download the file to my computer. I can then open it with, say Irfanview (or keep trying programs until I find one that doesn't recognise the encryption), strip it of any xml or meta data and save it with a different filename. Can't I?
    Last edited by franko; 05-26-2011 at 01:08 AM.

  6. #6
    Senior Member RayC's Avatar
    Join Date
    Apr 2010
    Location
    Toronto-ish, Canada
    Posts
    1,731

    Default

    Think more like an MP3, or video player, that delivers the content without the user downloading.

    Here's an example: When I log into my bank, I can look at my account transaction history. Beside an entry for a cheque, there is a link called "view cheque". When I click it, I see an image of the front and back of the cheque. From this display I can read the cheque, but I cannot save it. If I right-click and select "View Image", I get a blank screen. If I right-click and select "Save Image As...", nothing gets saved.

    My client site has a custom file manager script where files can be uploaded and organized into folders. From the file list, we would like the ability to display the file in a similar way as my bank. I've seen such things that can display PDFs or that use SWF. Most times, however, the files have to be converted to the custom format before being uploaded. Then using something AJAX-like, the file is displayed in a viewer window when clicked.

    Like Google Books, I guess. Or Scribd iPaper.

    I suppose it would have to either convert to PDF or SWF on upload, or convert on the fly when a view request is recieved. Hmmm... this gets complicateder and complicateder.

    The Adeptol thing is the closest (only) thing I've found -- but it seems total overkill (and over $$).
    Ray Cambpell
    Sounds In Sync
    Linked in

  7. #7
    Max
    Guest

    Default Re: File Viewer Script

    Yes, unless something is downloaded to the client nothing can be seen.
    In this case it's an image of the document rather than the document,
    however I see that ArtistScope encrypts the cached images to prevent
    copying that too, among other tricks. Nothing to stop the screen being
    photographed, however...

    Max

    ----
    franko wrote:
    Am I missing something ore am I just behind the times. Surely when a
    browser accesses a web page, the various files that make up that web
    page are dl'd to the browser and then the page is assembled for display
    by the browser.




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •