KDE/dolphin delete files located on sshfs remotely

Currently deleting any files mounted via fuse.sshfs makes dolphin copy the files over to my pc and save them in ~/.local/share/Trash.
I have found this, and have checked the directories in question
- .Trash exists with 777 + sticky bit
- .Trash-1000 (id of both my local AND remote user) exists as well with 700 without the sticky bit
Both folders are in the $topdir (/data remotely) as described by the specification. Copying them over to /home/myuser/mountpoint (which would be my local $topdir) does not change the behavior
The specification says that .Trash-uid is to be created automatically in case .Trash with required attributes does not exist.
Why is dolphin not deleting the files remotely?

Thanks, but that's a crude workaround at best. It also does not handle trash at all - the only option is to delete the file permanently.
I've  found this 11 years old unresolved bug here, seems to be what is causing it.  Konqueror behaves the same, so it seems it's a kio thing once again.

Similar Messages

  • Accessing a XML file located in a remote machine.

    I have a XML file located in a remote machine(source machine), and I want to be able to move the data from that file to a remote database (target).
    I have a central ODI deployment and a central master and worker repository.
    The issue I have is that it seams to me that in order to use an XML file the XML file needs to be local to the ODI client(topology manager, designer etc).
    The question what do I need to do in order to access the file located in the remote source machine if that machine does not have an ODI client?
    Thanks

    Hi Terence,
    why don't you try to put all your JPA stuff (classes, persistence.xml, etc) in a "library" jar file and then deploy it inside your .war (under META-INF/lib) and .ear (under the lib)?
    Is it acceptable for your purpose?
    Fabio De Santi

  • When I download firefox, using recommended setting, or my own, all the sub files/folders like plugins, modules, updater end up on the desktop as well as in the file location. And when I try to put them into the file location, they don't. And when I delete

    When I download firefox, using recommended setting, or my own, all the sub files/folders like plugins, modules, updater end up on the desktop as well as in the file location. And when I try to put them into the file location, they don't. And when I delete them, FireFox won't open. I tried deleting FireFox and reinstalling it multiple times, and a message pops up sometimes that says FireFox may not have installed correctly, so I follow the steps, but all the extra icons on my desktop don't go away. This has happened every time I have downloaded FireFox. The browser itself works, but I need to know how to get rid of these icons, but still be able to use FireFox. This is on a new computer, with Windows 7.
    == I downloaded FireFox. ==
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6

    Managed to solve this myself. Just went to properties > hidden.

  • HOw to delete files from remote server?

    Hi,
    I want to delete files from a directory on remote server.
    I use the following command to delete on current server:
    find $srcdir -mtime +90 -name "COR*.txt" -exec rm -f {} \;
    Now, how can I delete files from remote server ?
    Thanks!
    Yogini

    Some possible options:
    1. There exists SSH implementation for Windows.
    2. You can make a workaround. You can setup share for specific/wanted directory.
    Then you can mount it on Linux machine and execute command localy and delete files "localy" in mounted directory.
    3. You can setup FTP server on Windows machine and do that remotely via FTP commands.

  • Error when deleting file: Could not find this item. This is no longer located in ...

    We are setting up a new Windows 2012 server. Users access this server using a 'terminal services'. We have mapped some folders from a legacy server (different domain). Using group policy preferences, we map this folder as a drive for a user.
    When user wants to delete some files, he get's the error: 'Could not find this item ..' The error is displayed to the user and it looks like the file can't be deleted. But when I press the F5 (refresh) button, the file is gone. My problem is very similar
    to a problem in the following post: http://social.technet.microsoft.com/Forums/windowsserver/en-US/042e747a-0e25-4190-b0a2-82f3e9635eb0/can-not-delete-file-error-is-could-not-find-this-item?forum=w7itprogeneral
    When I create 'txt' (or 'pdf', 'zip') file, i can delete it without the error. When I create 'xlsx', 'docx', 'pptx', 'bmp', 'jpg', I get the error.
    Does somebody have an idea, how can I fix the cause of this problem? (I can't tell to users to hit the F5 button everytime when they face this issue)
    Thank you for your help in advance!
    Juraj

    Hi,
    Please check if the problematic files’ filename ended with a dot. If so, you could refer to the article below to troubleshoot the issue:
    Solved: “Cannot read from the source file or disk”
    http://blog.dotsmart.net/2008/06/12/solved-cannot-read-from-the-source-file-or-disk/
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Deleting Old iTunes files w/ lost file locations

    Does anyone know of a quick efficient way to take you entire iTunes library, identify which song files "original file location cannot be found", and then remove them.
    I attempted to restore my library from a iPod I backed up, but no dice. Now I'm left with a ton of songs I can't play because the directory location is lost or they have that obnoxious by them. I really don't want to sort through the whole god forsaken library manually to figure out which ones are playable and which ones are not.
    Grazi,

    Go to the Apple Developer's site and download the iTunes COM for Windows SDK zip file. When you unzip it there is a java script program called RemoveDeadTracks.js running this will do what you want

  • Audition CS5.5 deleting files from "Recorded" subfolder on closure

    Hi
    I use Audition CS 5.5 version 4.0 Build 1815 on a 32bit XP Pro box using a 1TB raid 1 array on 2 identical drives.
    Yesterday I worked on 2 seperate projects previously created and saved. Using the multitrack editor with 2 tracks of music, and one of multiple instances of live voice recorded whilst I worked, which were saved in the "Recorded" subfolder by the program as (eg) Track 4_003.wav and .pkf files..
    After assembling the music and voice tracks with fades etc as normal, and saving regularly whilst working, at the end of the session I checked all the music/speech junctions then saved and exited.
    Today I came to continue working on these projects to find that Audition appears to have deleted around half of the files, some 16 pairs of .wav and .pkf files, from the Recorded folder, starting from Track 4_001.  All the deleted files were recorded prior to yesterday.
    This has occurred in both projects which are on seperate parts of the raid array.  The session files expect to find them, and cannot, of course.
    The files are not in the recycle bin and there was no evidence of them on the raid array when scanned with GetDataBack, even as deleted files. It is as though they never existed.
    This is very alarming, not to say extremely inconvenient, as a whole day's work has gone down the drain.  It would appear to be Audition causing the problem as the files were definitely in the recorded subfolders prior to closing the projects, and now they aren't.  I have never known XP, much as I hate the OS, to selectively delete sequential files from a folder.
    Is this something that is known about Audition, and if so, is there a solution short of making a seperate backup of everything in another location prior to saving and closing Audition?
    I'd appreciate any input on this before I grovel to the voiceover artist.
    Christopher

    It is very strange, and as to why they don't appear on a whole disk recovery scan I have no idea.  They were definitely on the raid array at one point, I checked the folder contents outside of AA, and they are still logged as having been created and on the timelines in both the .sesx files. 
    If AA had overwritten them then the file numbers would have been reused, but both projects have "lost" all the lower numbered files, starting now at 16 & 17 respectively, AA hasn't reused the numbers. The chances of new numbers actually occupying the same disk sectors is very remote.
    The only thing I can check is the operation of the "cut" & "delete"  commands in the multitrack editor.  There is the possibility, which I have to check, that, having split a recorded voice take up into seperate clips for use at various point on the timeline , when asked to cut or delete a split clip AA actually deletes the whole clip, not just the split section.
    I have set up a test session and will try this out to see if AA automatically renumbers split sections. I will report back later.
    Christopher

  • Delete file from folder only (not from list)

    Hi all,
    I've searched a lot and didn't succeed so far, that's why I need your help. In a cloud context, I'm actually creating and uploading files (pdf and/or xml files) "on the go" to sharepoint folders via the SOAP API and this is perfectly working. But
    in a cloud context, I also need to decomission services which is translated into deleting files into Sharepoint.
    That's where it became complicated, because according to the API we cannot delete files if they are not part of a list structure, which is not my case. Is that true ?
    The only info I have when trying to delete a file via the SOAP Api is : its name, its folder, and the endpoint where the folder is. So my question remains simple I guess : is this possible ? If so, how to (a link to the SOAP body would be usefull)
    Thanks a lot
    Regards
    Baptiste

    Hi,
    According to your post, my understanding is that you want to delete file from folder.
    In SharePoint 2010, It is recommended to use Client Object Model to achieve it, the following code snippet for your reference:
    string siteURL = "http://siteurl";
    ClientContext context = new ClientContext(siteURL);
    //specific user
    NetworkCredential credentials = new NetworkCredential("username", "password", "domain");
    context.Credentials = credentials;
    Web web = context.Web;
    context.Load(web);
    context.ExecuteQuery();
    string relativeUrl =web.ServerRelativeUrl +"/DocumentLibraryName/FolderName/FileName";
    File file = web.GetFileByServerRelativeUrl(relativeUrl);
    context.Load(file);
    file.DeleteObject();
    context.ExecuteQuery();
    If you still want to use SOAP API, we can use the UpdateListItems method under Lists web service to achieve it.
    http://www.dhirendrayadav.com/2010/06/delete-list-items-using-web-service.html
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/61466984-1844-48a1-8c1e-1c59a0f9876a/move-and-delete-files-remotely-using-sharepoint-web-services-?forum=sharepointdevelopmentlegacy
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Delete files from utl_file_directory in R12 on DB node

    hi
    How can we delete files from utl_file_directory in R12 on DB node
    Regards

    there are 120090 files in /usr/tmp location on DB node.
    can we delete those manually..It is safe to delete temp/tmp/t files -- Can i delete files under $APPLTMP folder in EBS R12.0.4?
    I had closed all the posts...can you check itThanks -- I do not have to check as I trust that you have already done.
    Thanks,
    Hussein

  • BOBJ is unable to delete file from OFRS

    System Info:
    Business Objects Enterprise XI3.1 SP3 FP3.2
    Windows 2003 Server Enterprise Edition SP3
    Oracle 10.2
    Java 1.6.0_20
    APACHE Tomcat 5.5.20
    2 clustered servers
    FRS located on SAN Disk Drive connected to primary server (Winchester1)
    We use WebIntelligence exclusivly.
    We are receiving the following error in our event log on our clustered server:
    Source: BusinessObjects_CMS
    Category: General
    Type: Warning
    Event ID: 33018
    Computer: Winchester2
    Unable to delete file from the file repository. Make sure a File Repository Server is running and registered and enabled. Details : Failed to connect to the File Repository Server output. Make sure the server is up and running.
    We have verified the FRS is running and we are able to connect to it from our clustered server (Winchester2).  The security settings are set to full control for the admin group and the users have Read/Write access to the file store folders.  The errors are filling up our event logs and causing issues with the servers.  this appears to be happening each morning and the file it is trying to delete is an .xls file.
    We have a ticket open with SAP Support but they are just as baffled as we are and keep sending us from one group to another and tell us they need to look at it on thier end and they will get back to us.
    Has anyone had this happen on their system?

    Hi Richard, did you ever get this issue resolved?  We are having a similar issue on XI R3 SP4 using NAS/CIFS shares for our File Stores.  We see this issue mainly after our servers are patched and a full environment restart is initiated.  Like you, our event logs fill up with so many error messages I cannot pinpoint exactly when the issue starts happening.
    Any help would be much appreciated.

  • File location and name

    If I use iPhoto to import files from my camera where are the files actually stored and how do I change the actual file name? I have figured out how to change the picture title but it does not change the file name.
    If I use iPhoto to import pictures from the hard drive do they get copied to the iPhoto file location or just linked? When I moved to the mac I created a folder named "old laptop stuff" and moved everything to that folder. I am now trying to organize all of this stuff on the mac. Can I delete the picture files from the old laptop stuff folder after using iphoto to import and organize them?

    Hi Dispatcher,
    Where are the files stored? Take a look at the screenshot.
    iPhoto 6 Library folder in the Finder
    As you can see the structure is now related to rolls. Rolls are created for each folder you import and each import session from a camera.
    It is very easy to change the names of film rolls within iPhoto to make them easier to find images within. Open the info panel in iPhoto by clicking on the "i" icon. Once it is opened, click on the roll title in the viewing window.
    Click on the word "title" in the info pane and type in your new title. I like to use a date and text format such as 12/25/05 Christmas at Mom's, 1/05/06 my birthday, etc. Once the roll names are changed within iPhoto, they are also changed within the Finder, making it easy to locate an image.
    When importing from a camera, make sure you name the roll with a date and text before the import.
    You can add titles in iPhoto, but as you found out only iPhoto sees these new titles. To do what you want you have to name the photos before importing into iPhoto. Either download to the computer with your camera software or use Image Capture (found in your Applications folder) to download the photos.
    Launch Image Capture (keep the little window open that says no camera is connected or IC will quit if you close the window)
    Go to Image Captures preferences and choose what you want to happen when a camera is connected.
    Next time a camera is connected, if you chose Image Capture to open, then IC will open and download the photos.
    Rename your photos then import them into the library
    You can choose to do it either way when you first use iPhoto (this is new in version 6)
    If you choose to copy into the library when importing, then the photos are copied into the library (iPhoto Library folder in the Finder)
    After you have imported all those folders of images, you can then delete the folder.

  • I have an iMac 5.1 with Mac OSX 10.6.8 and 2 GB memory and an L2 cache of 4 GB.   lately I have been receiving error messages of " start up disk almost full; please delete files." is the start up disk the same thing as the hard drive?

    I have an iMac 5.1 with Mac OSX 10.6.8 and 2 GB memory and an L2 cache of 4 GB.   lately I have been receiving error messages of " start up disk almost full; please delete files." is the start up disk the same thing as the hard drive?  I opened the hard drive and from the column on the left of the menu I've selected "search for" and under that " all images" then "all documents"  I've deleted a few files from each. Are documents and images that I have deleted from here also deleted from the folders on my desktop?

    You should never, EVER let a conputer hard drive get completely full, EVER!
    With Macs and OS X, you shouldn't let the hard drive get below 15 GBs or less of free data space.
    If it does, it's time for some hard drive housecleaning.
    Follow some of my tips for cleaning out, deleting and archiving data from your Mac's internal hard drive.
    Have you emptied your iMac's Trash icon in the Dock?
    If you use iPhoto, iPhoto has its own trash that needs to be emptied, also.
    If you store images in other locations other than iPhoto, then you will have to weed through these to determine what to archive and what to delete.
    If you use Apple Mail app, Apple Mail also has its own trash area that needs to be emptied, too!
    Delete any old or no longer needed emails and/or archive to disc, flash drives or external hard drive, older emails you want to save.
    Delete any other mail in your Junk folders. Also, look through your Sent Mail to see if there is anything that can be deleted.
    Other things you can do to gain space.
    Once you have around 15 GBs regained, do a search, download and install OmniDisk Sweeper.
    This app will help you locate files that you can move/archive and/or delete from your system.
    STAY AWAY FROM DELETING ANY FILES FROM OS X SYSTEM FOLDER!
    Look through your Documents folder and delete any type of old useless type files like "Read Me" type files.
    Again, archive to disc, flash drives, ext. hard drives or delete any old documents you no longer use or immediately need.
    Look in your Applications folder, if you have applications you haven't used in a long time, if the app doesn't have a dedicated uninstaller, then you can simply drag it into the OS X Trash icon. IF the application has an uninstaller app, then use it to completely delete the app from your Mac.
    Download an app called OnyX for your version of OS X.
    When you install and launch it, let it do its initial automatic tests, then go to the cleaning and maintenance tabs and run the maintenance tabs that let OnyX clean out all web browser cache files, web browser histories, system cache files, delete old error log files.
    Typically, iTunes and iPhoto libraries are the biggest users of HD space.
    move these files/data off of your internal drive to the external hard drive and deleted off of the internal hard drive.
    If you have any other large folders of personal data or projects, these should be archived or moved, also, to the optical discs, flash drives or external hard drive and then either archived to disc and/or deleted off your internal hard drive.
    Good Luck!

  • How to create/delete files from filesystem using PL/SQL ? UTL_FILE?

    Greetings,
    I will start by explaining what i intend to do.
    I have an application made in APEX. This application will have among other purposes the managment of pdf files which will reside in the filesystem.
    I have questioned the person in charge to keep the pdf files in the database and not in the filesystem but without success.
    So the pdf files reside in the filesystem and there is a record in a database table about them. A table keeps all info about the pdf, their location , size and name, creation date etc.
    The APEX application will have a mecanism to allow the deletion of the pdf files if an administrator decides.
    So it should be possible for an administrator to schedule the deletion of all pdf files whoe creation date is older than 2008 for example
    So, how can i achieve that?
    After some research i foudn about the UTL_FILE package which seems to have it takes to perform the task in issue.
    My idea was to have a script in the operating system which runs nightly and reads a file containing all file names of the pdf to be erased.
    The file which contains the names of the pdfs to be erased will be generated by the database a few minutes before.
    If there are no pds files to be erased than the file containing the names will simply be empty
    Are there any other viable solutions out there?
    And as for opening/creating the file withn the pdf names, i use:
    UTL_FILE.FOPEN (
    location IN VARCHAR2,
    filename IN VARCHAR2,
    open_mode IN VARCHAR2,
    max_linesize IN BINARY_INTEGER)
    RETURN file_type;
    And as for writing lines (a pdf name per line ), i use;
    UTL_FILE.PUT_LINE (
    file IN FILE_TYPE,
    buffer IN VARCHAR2,
    autoflush IN BOOLEAN DEFAULT FALSE);
    is there a better solution?
    thanks all.
    -> My Homepage <-
    Edited by: Igor Carrasco on Apr 14, 2009 3:11 PM
    Edited by: Igor Carrasco on Apr 14, 2009 3:12 PM

    Greetings,
    I have read that link above, some questions still though.
    I will provide some more information.
    -First the database is in a windows server.
    The windows server has a virtual drive mounted as z:\ <-- this points to a directory in virtual machine, i can manually access/create/delete files manually,i tested.
    -Second utl_file_dir is defined as * , in t that enough to cover mounted drives? ( i can't change the init.ora and reboot the db right now :( gotta wait.. )
    Do i explicitly have to define utfl_file_dir = z: ?
    -Third haven't had the chance to test it on linux or any other operating system, assuming a virtual unit is mounted successfully and that the issues above are solved i should be able to operate on any mounted drive whatever the os, right?
    Best regards

  • FAQ: File Basics: How do I Upload, Download, Share, and Delete files in Revel?

    FILE BASICS
         Libraries:
    The top level of organization is Libraries
    Libraries can contain several albums.
    Libraries can have collaborative users that are invited to share. (requires Revel Premium) Invited users have access to add, delete and edit files. They must have a Revel account to do this.
         Albums:             
                     Albums contain photos
                     Albums cannot contain other albums
                     Albums can be shared with other users. They can be viewed, but not added or deleted by these users. People who view albums via shared links to not need to have a Revel account.
            *See SHARING topic below.
    CREATING LIBRARIES IN REVEL
    If you are a premium user, you can create additional libraries in Revel.
    CREATING ALBUMS  IN REVEL
    You can create new albums in your  revel library easily to help organize your photos. You can not have albums within albums. (nested albums)
    REVEL UPLOAD/IMPORT PHOTOS- copying files to Revel (cloud)
    From IPad, Iphone, Mac:  Upload to Revel is possible
    From a Browser: Upload to Revel is possible
    FROM Elements: Upload to Revel is possible
                How Do I upload files to Revel?
    REVEL DOWNLOAD/EXPORT PHOTOS FROM REVEL
    To Mac, IPhone, IPad:  export from Revel is possible (single or group export)
    To Android devices: export from Revel is possible (one file at at time)
    To computer using a web Browser: export from Revel is possible (one file at at time)
                 How Do I Download files from Revel?
    DELETING PHOTOS IN REVEL
    Deleting a file in Revel removes it from Revel (no devices will see it now) and removed it from the Elements Organizer. It should remain on the device in the original location.
    FAQ: How do I delete a file from Revel?
    DELETING FILES AND ALBUMS IN REVEL
                 FAQ: How do I delete a file or  an album from Revel?
    EDITING FILES IN REVEL
    You can open from and Save to Revel in the editors on mac/iphone/ipad. When you edit, your device will download the full image rather than having just the thumbnail.
    FAQ: How do I edit photos in Revel?
    SHARING FILES IN REVEL
    Collaborative sharing- can be done at the library level only. Other users are invited by email and must be logged into a Revel account to see the shared libraries.
    Read/download only sharing- can be done at the album level- a link is sent and the user does not need Revel to view them.
    Sharing of individual photos not currently available, creating your own personalized link name is not available
    FAQ: How do I share my photos in Revel?

    Hello All,
    As all you said I have used apache third party jars to upload a file into server.
    Thanks for help me out regarding this issue.
    But Now what the problem is When I run this locally it is running fine.
    When I deploy it on server It is giving the following exception.
    SRVE0026E: [Servlet Error]-[UploadLetter]: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUpload
    these files are in classpath.and successfully compiled but in runtime this is happening
    can anyone have any idea on this..??
    Please help me out.
    Thanks in advance.

  • How can I remotely access my computer from a different location on Apple Remote Desktop?

    I downloaded Apple Remote Desktop and am trying to access our computer at our church that is in the auditorium and work on slides for ProPresenter from my office which is on a different network. The Mac Pro, which is in the auditorium, is connected to a Netgear wireless router. I would also want to be able to have access to observe and control the screen on the Mac Pro whether I am in my office or at my house. I have tried everything from going to portforward.com, followed those instructions, did port forwarding, used ipchicken.com to get my external IP and made sure that the Mac Pro had a static internal IP address and made sure the computer had access for remote management. Any help to resolve this issue would be greatly appreciated! Works fine when it is on the same wireless network, but I need access being on a different wireless network. Thanks!

    Hi austinmac14,
    So the steps listed bellow assume some things. They assume that the Airport Extreme Router your configuring is connected directly to the internet connection. And that the Airport Extreme is the only router between your computers and the internet.
    That means we're talking about say a DSL modem plugged directly into the Airport Extreme, or a cable modem. in ether case, this assumes that said modem, is not acting as an internet router.
    If your modem has multiple ethernet ports on it, or has a little antenna sticking out of it, then your modem is probable also a router, and these steps listed bellow will probable not work.
    Also these steps are so one person, can connect to one computer at your work.
    Open Airport Utility:
    go to the dock
    Click on the finder
    go to the menu bar
    Click on the "Go" menu
    Chose "Utilities" from the "Go" Menu
    double Click on "AirPort Utility"
    Access the Base Station:
    Double Click on your Airport Extreme BaseStation that is your internet connection router.
    a new window should pop up with your Airport Base Station as the Window Name
    Configure Static Address for the computer you want to connect to via ARD:
    Click on the internet Icon from the toolbar
    Click on the "DHCP" tab
    For "DHCP Reservations:"  Click on the "+" button
    For the "Description" put "ARD"
    For "Reserve Address by:"  set "DHCP Client ID"
    Click the "Continue" button
    For "DHCP Client ID:" set "ARD"
    write down the number in "IPv4" address field
    Click the "Done" Button
    Configure routing to ARD computer:
    Click on the "Advanced" icon from the tool bar.
    Click on the "Port Mapping" tab
    Click on the "+" button
    for "Service:" Chose "Apple Remote Desktop"
    for "Private IP Address:" copy the exact IP address you wrote down in step "3. 8)"
    Click the "Continue" button
    Click the "Done" button
    Click the "+" button
    For the pulldown menu "Service:" Chose "Remote Apple Events"
    for "Private IP Address:" copy the exact IP address you wrote down in step "3. 8."
    Click the "Continue" button
    Click the "Done" button
    Click the "+" button
    For the pulldown menu "Service:" Chose "Remote Login - SSH"
    for "Private IP Address:" copy the exact IP address you wrote down in step "3. 8."
    Click the "Continue" button
    Click the "Done" button
    Click the "Update" button.
    wait for the Airport Extreme to update, and for your computer to reconnect to the airport extreme. (make sure you can load and browse websites.)
    Configure the ARD computer to use the correct IP address:
    Go to the computer you want to be able to remotely connect to
    On that computer, Go to the menu bar
    Chose the "Apple" menu bar
    Chose "System Preferences…"
    Click on the "Show All" button
    Click on the "Network" icon
    For the active network connection, (the connection on the left side with the green dot), click on it
    Clock on the "Advanced…" button
    Click on the "TCP/IP" tab
    for the "DHCP Cient ID: field put "ARD".
    Click the "OK" button
    Click the "Apply" buttonNOTE: Under "Status" you should see "(connection name) is connected to (airport base station name) and has the IP address (IP address)." the "(IP address)" address displayed should match the IP address you wrote down in step "3. 8."
    Find out what your public internet IP address is.
    On the computer you wish to connect to over the internet, gotohttp://whatismyipaddress.com/
    when the web page loads, you should see "IP Information:" fallow by a number like 192.168.0.1, write down what ever number it is.
    At this point you should be able to connect to the computer remotely
    connect to the internet from another location.
    open Apple Remote Desktop
    go to the file menu
    chose connect to computer using ip address
    set the address to the address to the IP address you wrote down for step 6. 2.
    use the same password as you used to connect to the computer at work using ARD.
    So here the catch. If your router gets reset... well then your going to have to configure it again. Also all the same rules you have to connect to the computer at work, also apply to connecting to the computer from over the local network. That means your computer need to be on or sleeping. And if it's sleeping it need to be configure to wake for network access.
    Also some network connections change.  When it comes to internet connections, some connections are static IP, while other connections are DHCP. If your connection is static... great! if it's DHCP, your address may change. If it dose.. well then your ability to connect will break. And then you'd have to do step 6 & 7 again.
    Of corse there are ways around this. But that's kind of another conversation.
    Some internet locations may block your ability to connect to your computer at work. This is very common at schools, and companies. Basically any place that tries to control your ability to browse the internet, may block remote access to computers; because a remote computer would completely by pass their web filter.
    ALSO there is an easier option. As far as setup. There are programs designed to make remotely accessing your mac as easy as possible. For instance there is LogMeIn or Slack. With both of these programs, it's simple. make sure your computer is always on. Then install the software. Create an account with the service. And then you can connect to the computer almost any where by going to their website.
    This option requires no router configuration. It handles DHCP. It's designed to work in as many locations as possible.

Maybe you are looking for