Save file on different machine

Can anyone show me in the right direction. I need to save a file, which is a scanned .jpg, to a particular directory on a remote server. I would usually just use FileOutputStream and save it to a local directory i.e. c:/directory/subdirectory/filename.jpg, but am not quite sure how to save it to a different machine.
thanks for any help

One very simple solution if you are saving to a machine on a local network would be to map a network drive through "My Computer" and simply save using a path on that drive. This is of course assuming you're using windows. If you are unable to map a network drive, then it will be a bit more complicated.

Similar Messages

  • Save file on client machine on the web.....

    Hi,
    I have a Form Application C/S 6i where I create a file using Get_File_Name, TEXT_IO.fopen .... etc. This application it's OK. The problem is when I load the application on AIS9i. The application don't load never. I must create and save a file on client machine when I use application on the web. What Can I do? Is This operation possible without radical change of the code source?
    Thanks

    Erik,
    actually this project is under the leadership of the same author that created d2kwutil. It is too early to tell what exactly will be in this package and most likely we will release things step by step as they finish. However, you canuse this thread for a wishlist of functionality and I will pass it to the project lead. The implementation will be both POL/SQL and Java (as Java is the only way for us to access the client side in teh Web). The project target is sometime mid of next year. As said, the project hasn't really started yet so it is too early to speculate on what will make it in and when this will be delivered.
    Frank

  • Save file as or save file in different folder

    I want to open a file then save it in a different predetermined folder with the same name or maybe with a different name, is there a save or save as... action?
    I also want to sometimes create a new folder then rename it based on the name of the original file. Can't find that either. But I'm totally new at this.
    I'm getting stumped by both of these.
    Thanks,
    Automator newbie trying to convert 3d files to other format 3d files.
    Automator is so cool if I can get it to work.

    When using variables, the input items for the various Automator actions can be looked at like a stack of cards. You can do stuff with the stack you have, or set it aside to do stuff with a different stack and get the original stack back later.
    The following is an example that creates a folder from the name of a file, then copies the file there.
    1) *Ask for FInder Items* -- just get a single file
    2) *Set Value of Variable* { Variable: _Original Item_ } -- save it for later
    3) *Get Names of Finder Items* { Name: Basename only } -- get the name for the folder
    4) *Set Value of Variable* { Variable: _Item Name_ } -- save for use with the *New Folder* action
    5) *Get Value of Variable* { Variable: _Original Item_ } (Ignore Input) -- get the file back
    6) *New Folder* { Name: _drag Item Name variable here_ Where: wherever } -- create & copy
    Note that this workflow takes advantage of the fact that if items are passed to the *New Folder* action, it will copy them to the newly created folder.
    Since there isn't a way to loop a workflow other than the whole thing, to handle multiple items you would need to use an action such as the *Dispense Items Incrementally* action from http://automator.us/leopard/downloads/. The action will take your original input items and dispense them one at a time each time the workflow loops.

  • Save file in different name

    How can I save the screenshot image in different names?
    Example:When button 1 is click save in screenshot1.jpg, then button 1 is click again save in screenshot2.jpg ......etc
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Dim bmpScreenshot As Bitmap = New Bitmap(Panel1.Width, Panel1.Height - 300, PixelFormat.Format32bppArgb)
    ' Create a graphics object from the bitmap
    Dim gfxScreenshot As Graphics = Graphics.FromImage(bmpScreenshot)
    ' Take screenshot of just the panel control
    gfxScreenshot.CopyFromScreen(Me.PointToScreen(Panel1.Location), New Point(0, 0), Panel1.Size, CopyPixelOperation.SourceCopy)
    ' Save the screenshot
    bmpScreenshot.Save("D:\screenshot.jpg", Imaging.ImageFormat.Jpeg)
    End Sub
    Thanks

    If you only want to number the images like ScreenShot_0000, ScreenShot_0001, and so on...  Then you can use a class scoped integer variable to number them like below.  Also, you can draw the panel directly to a Bitmap without using the CopyFromScreen
    method.
    Public Class Form1
    Private count As Integer = 0
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Dim bmp As New Bitmap(Panel1.Width, Panel1.Height)
    Panel1.DrawToBitmap(bmp, New Rectangle(Point.Empty, Panel1.Size))
    Dim fn As String = "ScreenShot_" & count.ToString.PadLeft(4, "0"c) & ".jpg"
    Dim saveas As String = IO.Path.Combine("C:\TestFolder", fn)
    bmp.Save(saveas, Imaging.ImageFormat.Jpeg)
    count += 1
    End Sub
    End Class
     However, when you close your application and reopen it again it would start at ScreenShot_0000 again and would overwrite any images that are in that directory that have the same numbered names.  If you want it to automatically detect the last
    numbered file and start with the next number then you can use a While loop in the above code to avoid overwriting the existing images like this.
    Public Class Form1
    Private count As Integer = 0
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Dim bmp As New Bitmap(Panel1.Width, Panel1.Height)
    Panel1.DrawToBitmap(bmp, New Rectangle(Point.Empty, Panel1.Size))
    Dim fn As String = "ScreenShot_" & count.ToString.PadLeft(4, "0"c) & ".jpg"
    Dim saveas As String = IO.Path.Combine("C:\TestFolder", fn)
    While IO.File.Exists(saveas)
    count += 1
    fn = "ScreenShot_" & count.ToString.PadLeft(4, "0"c) & ".jpg"
    saveas = IO.Path.Combine("C:\TestFolder", fn)
    End While
    bmp.Save(saveas, Imaging.ImageFormat.Jpeg)
    count += 1
    End Sub
    End Class
    If you say it can`t be done then i`ll try it
    Hi IronRazerz,
    Thanks for your solution. I would like to ask you question about open files and rename files, I know that there are out of the question in this thread but the only way I can get the answer through your solution.
    My problem is when I open files "ScreenShot_0000.jpg" and then when I want to rename files the file will rename  "ScreenShot_0001" instant of "ScreenShot_0000.jpg".
    How can I suppose to open and rename files follow by sequence without interrupt?
    Below codes are my modified codes to open and rename files.
    Public Class Form1
    Private count As Integer = 0
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    'rename files
    Dim fn As String = "C:\Users\hwai\Desktop\Capture\ScreenShot_" & count.ToString.PadLeft(4, "0"c) & ".jpg"
    Dim saveas As String = IO.Path.Combine("C:\Users\hwai\Desktop\Capture\", fn)
    My.Computer.FileSystem.RenameFile(saveas, "Rename_" & count.ToString.PadLeft(4, "0"c) & ".jpg")
    count += 1
    End Sub
    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
    'open files
    Dim fn As String = "C:\Users\hwai\Desktop\Capture\ScreenShot_" & count.ToString.PadLeft(4, "0"c) & ".jpg"
    Dim saveas As String = IO.Path.Combine("C:\Users\hwai\Desktop\Capture\", fn)
    Dim ps2 As Process = Process.Start(saveas)
    count += 1
    End Sub
    End Class
    Thanks

  • IE saves file in different name(ex. some[1].somthing.txt ) why adds [1]?

    I am streaming the file content from servlet. My header & content type setting looks as follows.
    String downloadType = "application/octet-stream";
    res.setContentType(downloadType + "; name=\"" + fileName + "\"");
    res.setHeader("Content-Disposition", "attachment; filename=\"" + fileName + "\";");
    When I click the link on the HTML page or if I right click and 'Save Target As' the file.
    Actual file name = some.somthing.txt
    but it saves As = some[1].somthing.txt
    If the file name contains only one '.' then it saves as same name, the problem arises only if the file name has more than one 'dot'.
    If any body has any idea please help me out..
    Note: The directory I chose to download doesn't have any files by name
    "some.somthing.txt" so it wasn't due to cache.

    If the file name contains only one '.' then it saves
    as same name, the problem arises only if the file name
    has more than one 'dot'.I encourage you to read RFC1806 and its successors. Start
    with RFC1806, '2.3 The Filename Parameter'. You should stick
    with 8.3 filenames.

  • Experiencing same issues when running a seq file on different machines

    I have a sequence file that when ran on a desktop PC, takes about 30 mins to run and the same file runs in about 3 mins on a laptop. All the station configuration options are same on both the teststands. The only difference I see between the two machines in running the test is that the desktop pc has 256MB of RAM and the laptop has 1GB of RAM. My question is, could this RAM difference be the reason for the 30 min to 3 min difference?? I am sure that all the other options inside teststand that can affect the speed at which the seq file runs are same on both the machines. Any suggestions/comments will be greatly appreciated.
    Thanks
    Anuj

    Can you tell us a little bit more about what this sequence file does?  Does it communicate to instruments?  Does it access network resources (shared network drives)?
    I am the founder of CnCSoftwareSolutions. When not cleaning up baby drool, I write about test data or work on Vision, a tool for understanding your test data. Visit me at www.cncsoftwaresolutions.com

  • Save one file in different formats at once.

    Hello,
    I am a illustrator who needs to save files in different formats. Like 1 with a watermark, one small one for the website, another one for shop, a pdf file for the prints, etc. Is there a way to do all those things at once? Cause it really takes a lot of time.
    I make my illustrations in photoshop, but if it's nessecary to only do those thing in another adobe programm, than that's no problem.
    Please help, thank a lot!
    Renske

    Or try Image Processor Pro:
    http://blogs.adobe.com/jnack/2011/05/new-image-processor-pro-script-for-cs5.html

  • Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only. However opening a CSS file does not prompt that it is alr

    Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only.
    However opening a CSS file does not prompt that it is already open on or from any machine which is causing code edits to be lost.
    What we found from out testing:
    - The file can be saved from one user to the server and WILL NOT PROMPT on other machines until the saving machine has the Dreamweaver program closed completely
    - The file can be closed and  Dreamweaver minimised to the launch bar but it still will not register on other machines that it has been changed.
    - Also, until the  Dreamweaver program is closed on the machines, it will continue to open it's saved version of the file. 
    Example Scenario:
    - User 1 opens test.css (which is 2000 lines) and adds some code to the end of the file to bring it up to 2500 lines
    - Meanwhile User 2 opens test.css as well (opens as 2000 lines as User 1’s edits have not yet been saved) and adds in code to bring it to 2300 lines
    - User 1 saves his file and closes it - but  Dreamweaver is still open.
    - User 2 also saves his file and leaves  Dreamweaver  open.
    - The server will report the size and last edit of the file the same as User 2 as he was the last person to save it (and if you open from the Win7 Machine it will show as User 2’s 2300 line version)
    - If User 1 then open's the file again (from either the 'recent' in Dreamweaver OR clicking on the file directly in Finder...which version opens.... The version that User 1 saved! Not the true version on the server, but the version that User 1 edited and saved with 2500 lines in it.
    - Same for User 2, he will open 'his' version with 2300 lines in.
    Other information:
    - Files are opened directly from the server
    - Sometimes the users will save incrementally and re-open
    - Most of the time users will save incrementally and keep the files open
    - The users will never not save incrementally and just save when closing the file once finished
    - The users are usually working on the files all day
    - It is always the bottom lines of code that are lost. It could be a case of the two versions being mixed up and cutting off the newly added lines based on the line count (possibly).
    It is as if Dreamweaver is holding a cache of the version locally and then only properly looking back to the server when it has been completely closed. It is very difficult to see how the server is causing such an impact on these files, there are very few logs which are giving any indication to the root cause of the problems.
    Anyone know if this is a known issue?
    Is there a way that there can be a featured implemented on the server that doesn't allow another user to open a file if it is already open on another machine?
    Thanks

    Your server file handling has nothing, and really nothing to do with Adobe software. If files don't get locked for (over-)writing and/or lose connection to the program opening them, then your server is misconfigured. It's as plain and simple and that. Anything from "known file types"/ file associations not being set correctly, MIME types being botched, crooked user privileges and file permissions, missing Mac server extensions, delayed file writing on the server, generic network timeout issues and what have you. Either way, you have written a longwinded post with no real value since you haven't bothered to provide any proper technical info, most notably about the alleged server. Either way, the only way you can "fix" it is by straightening out your server and network configuration, not some magic switch in Adobe's software.
    Mylenium

  • Path does not exit - While trying to save file on SharPoint Server 2013 from client machine

    Hi,
    I have installed Microsoft SharePoint Server 2013 Enterprise Edition on my testing Lab environment (On VM Workstation 10) on Windows Server 2012 with SQL server 2012, I can access all files stored at SharePoint Server from any physical machine, I can share
    a single file among different people to work simultaneously, but here i stuck on saving any file from client machine to directly on SharePoint Server, Attached is the snap shot, whenever I try to save any file directly It says Path Does Not Exist, If I drag
    and drop any file directly to SharePoint I do not see any error message.
    I read from different posts that I need to Enable Desktop Experience Feature on Server 2012, which I installed but no positive result gained :(
    I will appreciate for any possible help?
    Ali

    Hi Ali,
    Please try disabling the protected view per the link below and test the issue again:
    http://social.technet.microsoft.com/Forums/en-US/b8381a19-3394-406f-8adb-1976f45460ef/path-does-not-exit-while-trying-to-save-file-on-sharpoint-server-2013-from-client-machine?forum=sharepointgeneral
    You could simply type the url as http://sp/sites/sitename in the Filename place.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Can I save files to the external hard drive if I am time machinging to that hard drive?  Not while time machine is doing it's thing of course, but any other time.

    I have a 2 TB Toshiba external hard drive that I want to save files to and also time machine to it (is that called making it a time capsule?).  I want to know if this is possible before I reformat the drive to the 'journaled' format to make it usable for time machining.  And if it is possible, how do I do it?  Just save/transfer stuff to the external hard drive like I normally would or do I have to di something different?  I just can't afford to have all 77 GB of my pictures on my internal hard drive anymore.
    Also, I am mainly trying to set up time machine so I can have a backup before I upgrade from Snow Leopard to Mavericks.
    Thank you!

    KP. wrote:
    I have a 2 TB Toshiba external hard drive that I want to save files to and also time machine to it (is that called making it a time capsule?).  I want to know if this is possible before I reformat the drive to the 'journaled' format to make it usable for time machining.  And if it is possible, how do I do it?  Just save/transfer stuff to the external hard drive like I normally would or do I have to di something different?  I just can't afford to have all 77 GB of my pictures on my internal hard drive anymore.
    Also, I am mainly trying to set up time machine so I can have a backup before I upgrade from Snow Leopard to Mavericks.
    Thank you!
    Time capsule is an Apple product, a combination router/HD specific for wireless TimeMachine.
    You can use Ext HD for saving files to etc as well
    Time Machine needs it own partition and needs to be the first partition on the Harddrive.
    Reformatting the drive GUID, extended journeled
    Done through DiskUtility

  • Re Time Machine "You do not have appropriate access privileges to save file ".002332b7be8a" warning preventing backups--this may help temporarily

    My TM is often giving me the "You do not have appropriate access privileges to save file “.002332b7be8a” in folder “Time Machine Backups”" message when I go to select my backup drive. I've reviewed past archived discussions on this and, like many other people, gotten completely flummoxed trying to find a permanent solution.  Tried the suggested fixes via Terminal and it didn't help because I couldn't get through the entire process without Terminal telling me it couldn't find a file or drive.  When I can find the time, I'm going to try Tinker Tool to reveal where that numbered file actually is and give it another go.
    In the meantime, for those who are desperate to get their TM working again to get at least one backup done, I can offer people a temporary solution that's worked for me.
    I've found that restarting my iMac somehow resets TM and usually allows it to do at least one of its automatic backups, sometimes several, before it reverts back to failing and producing that same darn warning message.  I only want a backup done once a day, so it's not that inconvenient to go this route.
    There's another even quicker  method (perhaps a little more risky but hasn't been a problem for me yet) that I've been using more recently, and that is to simply unplug the external while the iMac is on (I close system preferences first though, and make sure TM isn't actually doing anything at the time) then plugging it back in and choosing the backup drive again in the TM system preferences window once that drive has shown up again in the Mac's list of devices.  I don't get that warning message when I do this.  It works every time for me and so far it hasn't lost or corrupted any data on the external, despite the warning message you get on Macs when you unplug a USB device without ejecting it first.  However, do this at your own risk--don't flame me if it backfires on you.  If you're of the opinion that it's not wise to unplug the device this way, then fine, go ahead and state such in this thread, but be polite about it.
    Hope this helps anyone who's frantic to make a backup without having to start from square one with a whole new complete initial backup (can take many hours to make one) on a fresh external drive.
    By the way, I've read somewhere that this problem was fixed with Snow Leopard.  Whether that's true is another matter.  I'm not quite ready to update to 10.6 for other reasons, even though I bought it, and I figure some other people are also still using 10.5.8 out of fear and loathing around the unknowns of installing a new OS too, so that's why I thought I'd post this message (couldn't find a discussion around this that was still active and not archived).

    noodlenose wrote:
    My TM is often giving me the "You do not have appropriate access privileges to save file “.002332b7be8a” in folder “Time Machine Backups”" message when I go to select my backup drive.
    Wow, I haven't seen that in a looooong time!
    Tried the suggested fixes via Terminal and it didn't help because I couldn't get through the entire process without Terminal telling me it couldn't find a file or drive.
    Do you mean in #C5 of Time Machine - Troubleshooting?
    When I can find the time, I'm going to try Tinker Tool to reveal where that numbered file actually is and give it another go.
    It should be at the top level of the drive.
    By the way, I've read somewhere that this problem was fixed with Snow Leopard.
    Yes.  I'm not sure if it was 10.6.0 or one of the early updates, but I haven't seen any reports of this in quite a while.

  • Two machines saving the same file as different sizes?

    My coworker and I both have the same version of Illustratir (CS6) and both use Lion on iMacs, but today noticed something weird. He saved a file similar to a file I had done before as both an eps and a pdf and his file size was more than twice what my file sizes usually are. I thought it was odd, so I copied everything from his file into a new file (same dimensions) and saved out an eps and pdf (default settings), and like I thought, my files were less than half the size of his.
    Why would two machines be saving identical files at different sizes? Is there a setting somewhere I'm missing? Everything in the file is vector, if it matters. There's not even any editable text.

    See the mechanism of saving here: http://superuser.com/questions/66825/what-is-the-difference-between-size-and-size-on-disk
    The size of the "blocks" depends on the size of the disk and how it's been formatted.

  • How to save open files in different projects/workspaces?

    Is it possible at all to have Dreamweaver save different sets of open files in different projects/workspaces like every other IDE out there?
    I can't imagine every web developer is working on ONE project at a time and doesn't feel the need to switch to another one and have his last open files restored from that specific project..
    Am I missing something?

    Very wrong
    I am talking about saving different sessions of open files automatically (and assign them to user-defined projects that may or may not contain several sites or just one site).

  • How best to save photos?  I want to protect my photos (15,000 of them) by putting them on a portable drive and storing it in my safety deposit box.  Is it better to export them all, drag the Photo file, use Time Machine – or are there better alternatives?

    I am a 'newby' to the discussion world.  Hope I am doing this right.  How best to save photos?  I want to protect my photos (15,000 of them) by putting themon a portable drive and storing it in my safety deposit box.  Is it better to export them all, dragthe Photo file, use Time Machine – or are there better alternatives?

    Welcome to the discussions! You can use Time Machine and I would also recommend for you to manually copy your iPhoto Library (on your Pictures folder) to an external drive/thumb drive so you can restore it from there should you loose your TM backup. Exporting them from iPhoto would not preserve the libraries' integrity neither your originals, should you choose to edit them in iPhoto.
    Regards.

  • Save image file in server machine from client

    hai
    I am working in swing based applications on linux environment.
    I can able to save the image file from java appln to local directories.
    My doubt is
    how to save that image file in another machine in the same network or in the server machine through java application insead of saving in the local machine.
    if anyone can help me to findout the solution?
    advance thanks,
    Samy.

    The file can be read in the weblayer if it is sent as a mutlipart request. So once u have it i the Webserver u can always send it to the app server by posting it in a location which the app server can read using URL api

Maybe you are looking for

  • How can i move music from one account to another

    I have 4 different accounts in Itunes and i wish to move all the music into one account help please !!!!

  • How do you change the default setting in the motions tab?

    Greetings! We have two macs in our editing suite. Both are running FCP studio 2. One of the macs has a default setting for the drop shadow of 2 in the motion tab. The other mac has the default setting of 10. How can I change the default settings (not

  • How to find R/3 table  for FI and PS Datasources

    Hi, Can anyone tell me that how can we find SAP tables for FI and PS datasources in BI. Please provide information as it is urgent. Points will be assigned Thanks Shanthi

  • Performance tuning with HTTP compression

    We currently are using Oracle 11g and IE8. The 11g UI has been pretty slow and when i looked up for perfomance tuning one of the methods was http compression as stated in the link below - http://blogs.oracle.com/pa/entry/obiee_11g_user_interface_ui T

  • Role concept - CRM - EP

    Hi All,    I imported the business package for CRM in enterprise portal.rightnow i am dealing with security aspects. I have some conceptual doubts related to role concepts with this Business package. I have a role for sales manager in business packag