Open a file from anywhere - with credentials?

Hi;
Is there a way to open a file from anywhere where I give the uri and uname/password and it gives me back a Stream to read? Including:
1. ftp - with/without credentials
2. http - anon, basic, digest, & windows authentication
3. REST where you must do basic on the first request (anon returns an error message as an html page).
4. share on the same domain - requires a different user's credentials.
5. share on a different domain
6. share on a workgroup computer
7. share on a non-Windows server
8. ???
thanks - dave
Edited by: [email protected] on Sep 15, 2010 2:04 PM

[email protected] wrote:
Hi;
I just wanted to add the use case so you would understand why we need to handle all cases. I suggest that you actually ask customers what they want initially instead of assuming that you need all of them initially.
We have a reporting system we sell and one thing users can do is import images from an external source. Some users put their images on a web or FTP server requiring credentials. Others put it on a server that requires credentials. And we're now getting requests to pull from SharePoint.Fine. So you have the following task that has the following steps.
1. Define source of image and where to store it.
2. Create retriever based on 1.
3. Run instance of 2
4. Log errors from 3 or put retrieved file into location specified by 1.
In the above step 2 is a plug in that represents different ways of retrieving information.
And expanding on something that was said before you have a HUGE task in front of you in terms of supporting everything that you list above.
For example using only ftp these are some of the things I see.
1. There are at least three types of secure "ftp" servers. The protocol for handling security is different for each.
2. Although FTP is a protocol the implementation of how the servers work can be substantially different. For general handling the will likely require scripting for each targetted server.
3. Locations on FTP servers not necessarily simple. Examples.
...a. Login to server. Cd to a directory. Get a file which has a date as part of the name.
...b. Login to a server. Cd to a directory with a timestamp in the name. Get a file.
...c. Login to a server. Get a file which has a random name based on the last creation timestamp of each file.
Note that FTP is actually easier than some of the other cases.
And in the above I didn't deal with any of the possible errors.

Similar Messages

  • Opening a file from server with options

    Hi all,
    I have one small problem.
    I have one radio group with two options. One is "open with wordpad" and the other is "open with notepad".
    There is one button with name "View", which when clicked, what ever option which is selected in the radio group, based on that i should be able to open a file which is there on the app server using the option selected.
    I'm not getting how to open the file which is there on server and with these options.
    Please help me with this problem.
    Regards,
    Sonu

    You can achive the same by following two methods. Since the file is in app server, you cannot directly view the file using client server method. But try the following options, its little bit long work around, even though there is no other way i think.
    1. Create a virtual directory for that folder in the app server. The same can be configued in the httpd.conf and then restart the http server.
    You can call the particular file like http://ipaddress:80/<vir-directory>/<your file name>
    In your forms view button, try to call the above url using web.show_docuement. FIle will be opened in a new web browser.
    Or
    2. Configure webutil in your forms and app server. Try to download the file from app server to your client machine using As_to_client funtion. And the using client_host command, you can call your file as you wish.
    Balaji

  • How can I open photoshop files from 1995 with no file extensions?

    These files are on CD and are definitely Photoshop 2 or 2.5 or 3. When I put the CD in my Mac is showing them as Unix Executable Files.
    I'm currently using Photoshop CS3 on Mac 10.5.8.
    I've tried adding extensions such as tif, psd, jpg etc but photoshop refuses to recognise them as photoshop files.

    Yes, you should be able to open them.
    Most likely you've forgotten what the file type was  (PICT maybe?).
    If you have a hex editor, you could open the file and look at the first 8 bytes or so and figure out what the file type is.

  • Cannot open pdf files from websites with Adobe Acrobat X

    Since purchasing and having my IT technician install Adobe Acrobat X, I can no longer open pdf documents that are hosted on websites.  We have many pdf documents on our business network and MS SharePoint sites.  Since the upgrade these will not open directly when selected in the MS Browser.  I can download the files to my computer and then open them.  I see the same issue with pdf documents hosted on "outside" websites.  I have set associations to pdf files to Adobe Acrobat 10  rather than the reader that is also installed on this machine but still have this same issue.
    The error message window that opens in the browser says, "There is a problem with Adobe Acrobat/Reader.  If it is running, please exit and try again. (1:1)
    I have tried with the Adobe application running and with it not running and there is no difference.
    Is there something I can check or have my IT technician check to try and get this issue resolved?
    I am runing Windows XP Professional with the latest service packs.
    I am using Internet Explorer 8
    Thanks,
    Keith

    Hi Keith,
    Thanks for your mail.
    Here's the link to the KB article that gives the details of how to configure the SharePoint server for Acrobat X. These changes enable PDF files opened directly from the SharePoint browser to be recognized as SharePoint files by Acrobat and this can be verified by going to the File menu in Acrobat. The File menu will have a menu item SharePoint Server.
    http://kb2.adobe.com/cps/837/cpsid_83709.html  (The file on this link that you need to refer for the steps is "Enterprise Administration Guide" section "SharePoint Integration" )
    regards,
    Shivani

  • Can't open cp file from laptop with Windows Vista

    I created some files at work using XP and copied them to a jump drive. (Captivate 4)
    I've installed C4 at home using Vista on my laptop. I tried opening the cp files and none will open. C4 opens, but stays on the normal open page. I've copied them to the laptop drive and it still won't open them. I've tried opening by double-clicking the file, and by opening C4 and attempting to open them from within. Nothing. Any suggestions?

    Thanks, the Vista is 64 bit, the XP is not. Actually, I'm using the laptop to record new audio, so I don't have to get the audio from the XP machine. However, another problem has arisen and that it when I try to record in C4 on the laptop it doesn't work. It asks if I want to test and then nothing happens, the test window doesn't open, and then when I hit the record button again, nothing happens. I've downloaded Audacity and it records fine, so I'm going to save those files and import them. This has been one nightmare after another. Thanks for your suggestions.
    Barb Sonnemann
    Senior Trainer, Curriculum Standards
    Sage Business Solutions
    1715 N Brown Rd
    Lawrenceville, GA 30043
    Office: 770.492.6337
    Fax: 770.717.6599
    [email protected]

  • Client can't open PDF files from websever

    Hi all,
    I am currently having problems with a client who is using Adobe Reader 6.0 with Internet Explorer 6. He says that he can open pdf files from anywhere on the web, however he cannot generate any from my server. He gets an error: "File cannot be opened". I have tried replicating the problem on a local machine with both versions of the aforementioned programs and I am able to generate the files. I have tried disabling and enabling "Open in browser". I have tried saving to my harddrive and opening straight from the pop-up. I am not sure what else to try. Any assistance is appreciated.

    Edit: The error message he reported to me was incorrect. He is actually getting "file cannot be opened". I have edited my original post with this update. Any advice out there?

  • I cannot open a pdf file with aole-mail. I can open pdf files from windows explorer. I have associated pdf with adobe reader. My operating system is window

    I cannot open a pdf file with aol e-mail. I went to preferences in Adobe Reader but did not know what to enter for Incoming IMAP and outgoing SMTP. I can open pdf files from windows explorer as  I have associated .pdf files with adobe reader. My operating system is windows 7.
    When I try to open the pdf file within aol e-mail I get a message: 'Your security settings do not allow this file to be downloaded'.  I have not changed my security settings (Tools, Internet Options, security).

    Or http://helpx.adobe.com/acrobat/kb/pdf-browser-plugin-configuration.html

  • Open File from Filesystem with OutputLink

    I have implemented an UploadForm with JSF. With this form a File is uploaded to my filesystem and some data (link to filename, filename itself and so on) are written to the Database.
    No I display these data from the database in a datatable and I want to implement a link, that the user can open the file from the filesystem. I have tried a outputlink with something like that:
    <h:outputLink value="file:C:\Entwicklung\IDE\eclipse\readme.txt" target="_blank">
                   <f:verbatim>
                        Test
                   </f:verbatim>
    </h:outputLink>
    I'm not sure if the file: Command is the right...
    The problem is, that nothing happens. When I try to save the file, pressing the right button and choose "Save as..." the file is correctly saved.
    How can I implement a link to open a file from the filesystem?
    Regards,
    Andy

    No the file won't be a html file..
    I will be some kind of pdf or doc?
    So how to launch them? Do I need an Outputstream?
    Has anyone experiences with that?Any file could go as an href value.
    Issue is not file type, but a proper URI that the server could resolve.

  • Can no longer open PDF files from my emails sent from other websites. Problem seems to correlate with automatic upgrade of free adobe software (from version 11 to Reader DC)?

    Can no longer open PDF files from my emails sent from other websites. Problem seems to correlate with automatic upgrade of free adobe software (from version 11 to Reader DC)?

    To configure the browser to use Acrobat or Adobe Reader to open PDF files:
    1. Quit Internet Explorer(any other browser)
    2. Start Acrobat or Adobe Reader.
    3. Choose Edit > Preferences.
    4. Select Internet in the list on the left.
    5. Deselect(Uncheck) Display PDF in Browser, and click OK.
    6. Restart Internet Explorer

  • Hello, I have a Mac computer with NVIDIA 750M dedicated graphics card and monitor EIZO but the problem was there when I was working with Windows and Acer monitor. When I open a file from Camera Raw in PS this is smaller than the screen so I double-click w

    Hello, I have a Mac computer with NVIDIA 750M dedicated graphics card and monitor EIZO but the problem was there when I was working with Windows and Acer monitor. When I open a file from Camera Raw in PS this is smaller than the screen so I double-click with the tool "hand" to fit on the screen, but the picture loses sharpness and becomes blurry. If you magnify the image even only slightly with the tool "zoom" the picture comes back clear. In Camera Raw instead is always sharp. I solve the problem by turning off the graphics card in PS but often use plugin that need the graphics card otherwise the processing time is much longer. I ask for help.
    Thanks.

    Hello, I have a Mac computer with NVIDIA 750M dedicated graphics card and monitor EIZO but the problem was there when I was working with Windows and Acer monitor. When I open a file from Camera Raw in PS this is smaller than the screen so I double-click with the tool "hand" to fit on the screen, but the picture loses sharpness and becomes blurry. If you magnify the image even only slightly with the tool "zoom" the picture comes back clear. In Camera Raw instead is always sharp. I solve the problem by turning off the graphics card in PS but often use plugin that need the graphics card otherwise the processing time is much longer. I ask for help.
    Thanks.

  • HT1338 I have a problem with opening downloaded files from the internet; zip types. Can you tell me an app to open these types of formats of files?

    I have a problem with opening downloaded files from the internet; zip types. Can you tell me an app to open these types of formats of files?

    It should unzip if you double-cick.
    What are you seeing happen when you do that?
    Select a .zip file in the Finder and Get Info (cmd-i). What is set for it to Open With. It should be Archive Utility.

  • I have a brand new MacBookProo and I can not open PDF files from my desktop. Can anyone help me with this please?

    I have a brand new MacBookProo and I can not open PDF files from my desktop. Can anyone help me with this please?

    A new Mac comes with 90 days of free tech support from AppleCare.
    AppleCare: 1-800-275-2273

  • Cannot open CR2 files from Canon T4i with Photoshop CS5

    Please help

    tienstran,
    Don't hold your breath.  You will NEVER be able to  open raw files from a Digital Rebel T4i EOS 650D EOS Kiss X4i directly in CS5.
    There wil not be any further updates for CS5, ever.  The last version of ACR that will ever run with CS5 is ACR 6.7.1, and you are correct that you need at least ACR 7.1 (or higher) to open your files.
    On the other hand, you are wrong about support for your camera in the free Adobe DNG Converter.  All versions of the Adobe DNG Converter form 7.1 and up—including the Adobe DNG Converter 8.1—do support your camera model.
    Once a version of either ACR or the Adobe DNG Converter supports a given camera model, all subsequent versions will continue to support it.
    So, go and download the Adobe DNG Converter 8.1 and convert your raw Canon files to raw DNG files that you can now open in any version of ACR that will run with CS5.
    Remember:  the Adobe DNG Converter works on folders containing your raw files, it does not see the individual files in the folder.  You must point the Adobe DNG Converter to the folder itself, not the files.

  • Adobe Bridge CS6 (Mac) won't open .arw files from my Sony RX100. How do I get and install the right version of Camera Raw?

    Adobe Bridge CS6 (Mac) won't open .arw files from my Sony RX100. I was told to update Camera Raw to at least 7.2. I tried to download this but got a DNG Converter instead. Where is Camera Raw? (it does not show up in a search of my hard drive. There is a folder of camera profiles but no extension or plug-in with this name). How do I find out what version I have already? How do I get the correct version?  . . . OR . . . is it the case that Bridge will never open Sony raw files directly and I will have to do a separate conversion process every time I want to use a raw file??. Can someone explain this?
    Thanks.

    A Good samaritan answered this for me on another forum
    How to update Camera Raw

  • I have recently updated my CC programs to the latest version and now all of my files wont open by default into their respective programs, only if I open the program and go to file open and open the file from there. How can I fix this?

    I have recently updated my CC programs to the latest version (CC2014) and now all of my files wont open by default into their respective programs, only if I open the program and go to file>open and open the file from there. How can I fix this?
    I have tried 'Open with' and the version of the program now installed on my computer isn't even suggested as an option and when I browse for it, the file wont open with it anyway

    On Windows (don't know about Mac), the latest version will always take over the file association, and become the default for indd files. It's impossible to change it.
    But there is a plugin for ID that makes this possible. Never tried it myself.
    https://www.rorohiko.com/wordpress/downloads/lightning-brain-soxy/

Maybe you are looking for

  • Multiple Instances of NetWeaver in a single installation (binary)

    Hi,    My product has several versions. In WebLogic I have one installation and have created multiple instances each for each of the version. Can I do the same thing in NetWeaver? I am looking to see if I can create multiple instances of NetWeaver wi

  • Bridge won't open since Mountain Lion upgrade.

    Why won't Adobe Bridge open since Mountain Lion upgrade? I'm running CS4. PS works. Help.

  • Sata issues with k8n-fsr

    Hi list! I have serious issues with my sata drive on my K8N Neo-FSR. The SATA drive is connected on the SATA3 controller, and an IDE DVD is connected as master on IDE channel 1. The DVD is detected by the BIOS and can be booted... BUT, the SATA hard

  • Why will music that previously synced with phone no longer sync, stating not compatible?

    Why would music that previously synced to my iPhone no longer sync, stating not compatible.  Had a 4s, 64 GB, that was almost filled to capacity, so when I first got this message I though maybe that had something to do with it.  However, I now have t

  • Displaying recipient photos in Outlook

    Hello, Our HR department would like to have all employees' photographs available in Outlook. When creating an email message, at the bottom of the email message window there is a list of recipients where their photos can be shown. How do I upload the