How to write file in user's local desktop

Hi,
Using the WriteFile action, i can write the file in inetpub/wwwroot in server.
Is there any way to write the file in user's local drive folder?
Although now i am writing the file to server and allowing the user to access it through URL but I suspect that there could be user concurrent issue or file contamination issue.
Constraint - The file should open with the default name.
If i try to open a local copy to the user (thru SaveasCSV() or URL)  and allow the user to save the copy then the default name appear as Illumniator.
Regards,
Anil

I think your current approach of saving to the web location and providing the user access via URL is the best approach.  From a security standpoint I can't see that writing directly to a user's desktop/laptop would be a good idea.
If you are worried about naming or concurrency issues, then create sub folders that match their user name, or devise a naming convention that allows the objects to be unique between users and purpose.

Similar Messages

  • How to save file in users temp directory in java

    How to save file in users temp directory as "<Drive Name>:\Documents and Settings\<User Name\Local Settings\Temp".

    Shouldn't the System property "user.home" reference to that directory on windows? So if you call System.getProperty("user.home");, I think it should return that path at least up to <User Name>. I never really tried it on Windows though.

  • Uploading a file from user's local machine and put it in oracle table

    Hello All experts,
    I have a requirement such that the file from User's local machine needs to be uploaded and the custom oracle table needs to be populated.
    Any answers how to do this?Sounds challanging right?
    Thanks
    Kumar

    Have a look at attachments API, since this also does the same thing except that it puts the file in fnd_lobs instead of the custom table.
    Thanks
    Tapash

  • How to write files on Client Machine using JSP

    Hi,
    I am new to JSP. Please tell me how do i write files on Client machine thru a Browser.
    Please let me know at the Earliest.
    Thanks.
    Mehul Dave

    1) Well I find it rather convenient to deploy a web app as just one file rather than a bunch of files. For deployment it's much better. However I prefer using expanded files when developping (to use auto reload in Tomcat for example)
    2) It is a bad idea to upload files inside your webapp's context (ie: in it's deployment directory) because one day an uninformed system administrator might come and redeploy the web app and therefore delete all your uploaded files (believe me, I've already experienced this!)
    What i do usually is upload it in a completely different directory, something like /uploaded_files. Your uploaded files are therefore completely independant from your webapp
    However it is a bit trickyer to get those files back. Let's take the example of image uploads. You have 2 ways of proceeding:
    - the easiest : configure your web server (apache etc...) to redirect a certain url to your external directory. For example the /upload url will point to a /uploaded_files directory. This is easier to do and the fastest way to serve images but not always the best solution: you are dependant on the web server's configuration and you can't control the visibility on your files (no security constraints, anyone can see your uploaded files if they know the url).
    - you can also write a servlet which will load the file as an array of bytes and send it back in the response.
    You can call it this way :
    <img src="/serlvets/showmyimage?path=uploaded.gif">
    in this way you can control your uploaded files better: you may want to define security constraints on the visibity or not of uploaded files depending on the user which has logged on the site.

  • How to write file at server end?

    Hi,
    I use a af:inputFile component to receive uploaded files. And want to write files to the directory of server. However, when execute java.io.File.createNewFile(), it throw exception. How to resolve it?
    import org.apache.myfaces.trinidad.model.UploadedFile;
    import javax.faces.event.ValueChangeEvent;
    import java.io.InputStream;
    import java.io.File;
    public class UploadFileHandler {
        public void doUpload(ValueChangeEvent event) throws IOException {
            File file = new File("C:\temp.txt");
            *file.createNewFile();* //Error happen here.
    }

    Hi Cheney,
    It is good practice to use System.getProperty("file.separator") instead of hardcoding "/" or "\" .
    Though your issue is resolved by using "//", you might want to consider changing to the above.
    -Arun

  • How to write file to server side?

    hello,
    Could anyone pls help me...
    I just want to see an example how can I write to a file that is placed at the server(save place as the applet).
    p.s. I have been successfully read a file from there...
    Suppose I have signed the applet (self-signed), anymore security problem I need to pay attention to?
    Thanks a lot!!

    hi mandy, from the applet u can send the file to be written into the server to a servlet running in server and the servlet can in turn write the file into the servlet. by applet - servlet communication, u can easily read and write files to the server.

  • How to share files between user accounts

    I have used the shared folder but I must duplicate the file every time - how can I get it to use 1 file on both users and saving it to the shared folder?

    When you say "Shared folder", do you mean /Users/Shared, or the public folder of your user, or some folder you are file sharing?
    If the file is read-only (for the other user), then that's why you're getting the Duplication request.
    I would put the files in  /Users/Shared, and that should work.

  • How to write files to the filesystem with portal/plsql

    Hi,
    is there a way to write files to the filesystem via Portal?
    Or can i call an external programm (perl, php) to do so, while portal writes further information to database?
    thank you for the help
    Ralf Schmitt

    Hi Ralf,
    my primary task is to publish download-links to files stored ... somewhere as a linklist. I tried to store and download files to/from the database but i cant get it to run. Upload works, download doesn't.
    (i'm not talking about a single form-query-download-link! I need a report-like linklist)If you want to do this you'll have to write some code but sure it's possible - i did it myself.
    The links in the link list in your report should call a stored function retrieving the files from Wwdoc_document or whatever is the document table defined in your DAD. Simply select BLOB_CONTENT into a BLOB variable from the table, provided you know what file to read :-) The function would then read the BLOBs and send them to the client's browser via DBMS_LOB - it's poor design but it works just as smooth as it could and it's really performing. This would simply display the file into your browser or prompt for file save location, depending on what browser you are using and its client settings.
    I guess this is not so clear, if you want some more details feel free to e-mail me at [email protected]
    Another way would be to use wpg_docload to both download and upload files to/from the DB.
    Now i try to figure out if it is possible to store the files to the filesystem and write only additional info like description or path into db.Again, yes, it is. I can't recall exactly how I did it ^_^ but the trick is to create a virtual directory in the DB - pointing at a physical directory on the file system you want to write to, and you have to have full read-write permission on the directory itself, and its path must be included in the utl_file_dir database parameter. Then you use both COM Automation or UTL_FILE to write files.
    would it be possible to let a portal-form write info to the db and then pass the file to a php-script?
    regards,
    Ralf Schmitt

  • How to write files to phweb share drive(phweb is nonsap system)

    Hi all,
             Is there any way to write files directly to phweb share drive(phweb is Nonsap system).
    Thanks,
    Balalji

    Hi Rob,
               Yaa I got .But how to use that function modules and when to use.I heard that first we have to write to presenation server and then we can use one of those function modules.Is it right?
    Thanks,
    Balaji

  • Read and Write Files to user from Forms Server

    We are developing an application that requires us to rread and write files to the user system. We are deploying using the developer/forms server and this is not happenning. The text_io package and the d2wkutil operate on the application server system, not the user system. So is there a method to read the file contents into the app and write files out to the user system across the web. Thanks.

    developer6 can interact with javabeans. the javabean runs as an applet on the client machine. all you have to do is setup a javabean that read and write to your client machine.
    when you test your application, work with java console open so you'll be able to debug your appliacion, if you'll receive java security execption you may need to sign this javabean. look at sun site for info regarding the usage of javakey for signing java classes and jars.

  • How to rid of "c://users/appdata/local/conduit/background/container/backgroundcontainer.dll "

    hello
    I was wondering if anyone knew how to get rid of  the following that appears each time I start up my computer  ? (win 7) :
          "c://users/appdata/local/conduit/background/container/backgroundcontainer.dll  "
    thanks for the help
    cafe555

    Hi,
    Any update here?
    Did the message occur like this:
    Run DLL
    There was a problem starting
    c:\users\ed\appData\local\conduit\background container\background container.dll
    If so, please check if the below thread could help here:
    Run DLL error message/background container.dll
    http://answers.microsoft.com/en-us/protect/forum/protect_scanner-protect_scanning/run-dll-error-messagebackground-containerdll/49612202-667e-4a71-8e9a-d02161d8bc19
    Hope this might help
    Best regards
    Michael
    If you have any feedback on our support, please click
    here.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • How to unshare /Network/Servers/users-computer.local ?

    Hi
    are there any security issues on /Network/Servers/users-computer.local ?
    Everytime I delete it :sudo rm -rf /Network/* removes the shared stuff.
    But when I log back in I see /Network/Servers/users-computer.local is there again.
    Are who can access my users-computer.local? is it shared via network?
    How do i delete it permanently?
    thanks
    Kilopopo

    You can't. Your single machine is on its own Network, with you as the local user. What you're seeing is normal behavior. There's nothing to worry about.

  • How to  write file excel format xlsx/xlsb to pl/sql?

    Dear supporter,
    I built the xml report output excel file. However, the reported data and about 30 columns, line 200000 write and loading file slow, large file size
    How can write data directly to the format xlsb / xlsx from pl / sql. quickly and efficiently.
    Please, help me!
    Tks,
    Mr.T

    Check this thread.
    Re: 5. How do I read or write an Excel file?

  • How come 5.0 can't open local desktop images files (.jpg, .tif, .png ...) on my Mac anymore?

    I'm using Mac 10.6.8 and the newest version of Firefox 5.0. I have always been able to select File > Open File from the Firefox menu and select any image file on my computer and view it in the browser window. Suddenly I can't do this. All image files on my system are greyed out and not accessible. I can open html files from my local desktop and all images are present but can't open any .css files or single image files.

    Here's the *.tiff file.
    I've had to switch browser to Safari, as you can't load a tiff in Firefox, either.

  • How  applet write file in local system by URL instead of FileOutputStream()

    hi,
    how can applet write a file in local system through URL instead of FileOupStream()
    plz.....plz.....plz......
    URL url = new URL(" file://c:/temp.txt");
    in this url how applet can write
    plz....

    URL uses http to cummunicate, this means you can send and receive data using the http
    protocol.
    The OS doesn't do anything with this, you need a http server to interpret these messages
    and take appropriate action (with server side script or CGI).
    So if the client has a http server installed and has server side script thad does
    something with your http request (that's what a url does) than it is possible.
    Since both having a http server , server side script and or CGI have nothing to do with
    signed applets I will not answer your question here.
    But the mail reason I won't answer it is because it makes no sence to use a URL to write
    to the local file system.

Maybe you are looking for

  • Defining New G/L Accounts for Each Warehouse

    Dear All......... We have managed inventory by warehouse and set the G/L accounts by warehouse wise. Now if we create new warehouses  the system but by default the accounts are same for all the warehouse,                 So my main Question is ......

  • Ticker in Canvas

    I need to have an object to act like a Ticker in a Canvas. Does anyone know how to do it?? (MIDP's Ticker object can only append in Form object)

  • Where are the mail downloads in Lion?

    I sent some photos from my Iphone to my Mail (lion). I do not have the newest iPhoto for Photo-stream (because Ido not want all my photos on my iPhone - but I'd like only to send 1 way > iPhoto)  But I don't know where the downloaded photos are. If I

  • Executing DB2 Functions

    Hi , Is there a way to execute DB2 functions or procedures as part of process flow. OWB 11.2 allows to import but how is it executed ?? Connection is Native via JDBC drivers. Thanks, Jason.

  • Simultaneous DML operations

    hi there, we are doing simultaneous DML operations using trigger, that will be reflected in different tables.the question is insertion and deletion operations are fine and working.but the updation are not happening. CREATE OR REPLACE TRIGGER TRG_REPL