Recommended Posts

I did a quick search but couldn't find what I wanti, which probably has something to do with the fact I don't actually know what to search for.

Basically I have a server PC running Ubuntu connected to my home network. My main PC is running Win7. I've set up Samba and can browse and transfer files between the two machines no problem.

What I want to be able to do is move files around on the server from my Windows machine. If I try and move files around using Windows Explorer, it copies the file from the server to my Windows computer and then back again. Surely there is a way that I can perform the file operations locally on the server without having to copy the files back and forth? Any search for 'moving files on a network computer' comes up with basic network guides and how to move files between computers.

There seems to be more confusion than necessary in what you're wanting to do.

You are wanting to be able to move a file to either machine, correct? Is that not what it's doing? If you've networked the computers and are running Samba, I don't understand why you wouldn't be able to move files between the 2 machines. Barring any configuration issues of course.

Well if it were a 2003+ windows server it wouldn't do that. To maintain integrity it has to copy locally, paste, and delete in the move operation vs just moving the table pointers from one folder to another. Remotting in and moving it on ubuntu would yield faster results.

There seems to be more confusion than necessary in what you're wanting to do.

You are wanting to be able to move a file to either machine, correct? Is that not what it's doing? If you've networked the computers and are running Samba, I don't understand why you wouldn't be able to move files between the 2 machines. Barring any configuration issues of course.

I don't want to move files between the machines. The file I want to move is already on the server. All I want to do is move the file on the server to another folder on the server, but I want to do it using my Windows computer so I don't have to physically go to the server computer and do the move.

Well if it were a 2003+ windows server it wouldn't do that. To maintain integrity it has to copy locally, paste, and delete in the move operation vs just moving the table pointers from one folder to another. Remotting in and moving it on ubuntu would yield faster results.

I'm not sure what you mean. Do you mean when I try to move the file remotely, Ubuntu is actually copying it to the new destination folder and then deleting the original? Is there no way for Windows to simply issue a move command to Ubuntu, and it will do whatever it would normally if I physically went to computer and dragged the file to another folder?

When you initiate a move command you want the server to see that it is a move and just change the file pointers to another location, but in actuality what is happening when you complete a move command it is copying the file to your local computer, copying the file back onto the server in a new folder you want it in, then deleting the file. That operation is quite slow and you want it to be instant.

That is a feature of the os and something you shouldn't need to worry about. It is built into nas os'es and onto windows servers to understand moving from one local folder to another and not to copy information to the computer unless it is going to a different server.

It comes down to how the two os'es talk to each other.

Just remote into the server and move the file. That would be the fastest way.

Well the server also doubles as a HTPC running XBMC in full screen. If it's possible I'd rather avoid remote desktop so I don't have to exit (or minimise) XBMC to do any file operations.

When you initiate a move command you want the server to see that it is a move and just change the file pointers to another location, but in actuality what is happening when you complete a move command it is copying the file to your local computer, copying the file back onto the server in a new folder you want it in, then deleting the file. That operation is quite slow and you want it to be instant.

That is a feature of the os and something you shouldn't need to worry about. It is built into nas os'es and onto windows servers to understand moving from one local folder to another and not to copy information to the computer unless it is going to a different server.

It comes down to how the two os'es talk to each other.

So basically it's a limitation of the communication between Ubuntu and Windows communication? I would have thought that in 2012, moving files on a network computer would be a pretty standard operation.

It is, and you are able to move them right? Sounds pretty standard to me even if it doesn't meet your speed expectation.

In your case move is a standard operation no matter how long it takes, however the way you want it to move is different than what is happening now. To say that a move isn't a common operation is false. To say that moving the way it does it is asinine is true and it shouldn't happen with current technology.

It is, and you are able to move them right? Sounds pretty standard to me even if it doesn't meet your speed expectation.

Yes I can move the files around just fine, it just takes a whole while longer than it should because of the double-copy process. Apart from this limitation, the network is performing flawlessly.

Anyway thanks for the clarification. Barring any solutions, it sounds like I might have to give Windows Home Server a try in the future.

Just curious but why do you even have a Ubuntu server running? These days I just use a hp microserver running windows 7 as it has seamless compatibility with my other win7/win8 pc's. I use drivebender ($40) to do the homeserver thing of binding multiple drives into a single volume (and since its windows 7 it can also act as my media center server for my Xbox's which is one less box I need to be running)

Like I said earlier, it doubles as a HTPC running XBMC. I should probably say it's actually a HTPC that doubles as a server, as it does more video playback then it does file serving. Anyway, when I put the machine together only the Linux version of XBMC supported hardware accelerated video playback.

Im not a ubuntu user but there must be away to automate this, a script or app that watches a folder, then automatically moves or syncs the files somewhere else... When I have dabbled iwth linux I did use FreeNX to remote control the pc.

I am using Windows Home Server 2011, like you, my primary use of this server is XBMC HTPC, works great.. What are the files you are moving about? If they are media downloads, can you not simply change the destination folder??

^ yup just ssh to the linux box and do whatever you want for moving files around. Or if running a desktop gui, just remote into that (different that the console session) so you don't mess up anything going with what I assume your doing on the console session with your media stuff.

Or run a web interface file manager, for example webmin has ability to move files around on the machine.

On every Samba setup I have seen in the last few years the move operation does not copy anything to the local machine no matter what the client OS you are using is in question.

For example I have an SLES (SuSE Linux Enterprise Server) running Samba 3.6.3 and from a Win2k3 server via windows explorer any move operating performed is instantaneous, no matter how large the file in question is.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Password Safe 3.72.0 by Razvan Serea Password Safe is a password database utility. Like many other such products, commercial and otherwise, it stores your passwords in an encrypted file, allowing you to remember only one password (the "safe combination"), instead of all the username/password combinations that you use. Once stored, your user names and passwords are just a few clicks away. Using Password Safe you can organize your passwords using your own customizable references—for example, by user ID, category, web site, or location. You can choose to store all your passwords in a single encrypted master password list (an encrypted password database), or use multiple databases to further organize your passwords (work and home, for example). And with its intuitive interface you will be up and running in minutes. PasswordSafe was originally designed by the renowned security technologist Bruce Schneier and released as a free utility application. Password Safe 3.72.0 changelog: Fixed bugs Improved font scale handling - should resolve font size issues on high resolution displays. GH1749 In the Master Password Setup window, "Show Master Password" is no longer truncated on some displays. GH1092, SF1595 Size and position of main window is now correctly restored on scaled displays. SF1630 Keep password expiry date when both password and password expiry are changed; don't clear a non-recurring expiry when the password's changed. SF1628 Custom values can now be copied to the clipboard in read-only mode via Ctrl-C and right-click->Copy Value. New features GH1196 Dark display mode support: Password Safe now supports the system display mode, as well as setting the mode directly via Manage->Options->Display->Display Mode. This change also updates the general "look & feel" of the app to the current Windows theme. Known limitations: The Date picker and keyboard shortcut controls do not switch to dark theme The Customize Toolbar dialog does not switch to dark theme Custom Field support has been added to the more advanced features: Filters XML and Text import and export Comparison, Sync and Merge databases SF938 Custom field values may now be selected by name and copied via a "Copy Custom Field Value..." submenu in the entry context popup menu. SF936 Notes and Custom fields layout now overlap, selectable by tabs, resulting in a more compact and less cluttered layout. SF935 Autotype: Specifying '\v{name}' in the autotype text will cause the corresponding value to be autotyped. Download: PasswordSafe 64-bit | Portable 64-bit | ~20.0 MB (Open Source) Download: PasswordSafe 32-bit | Portable 32-bit View: PasswordSafe Website | Quickstart Guide | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Google DeepMind published a document on June 18, 2026, that may be the most consequential admission yet from a frontier AI lab: alignment training alone cannot guarantee that AI agents will remain under human control, so structural containment must be built before more capable models arrive.............. https://www.techtimes.com/articles/318758/20260620/google-deepmind-ai-control-roadmap-when-alignment-fails-defense-depth-takes-over.htm  
    • I've got a SoundBlasterX G6 that I use in my streaming setup. Sounds great to me and I've had zero issues with the ancient software package so far in Win11. That G6 has 7.1, Dolby, fully working SPDIF and since it's a USB device it's outside of my rig so I don't have to worry about EMF distortion. Looks like for now this is a pass for me as I think I have better hardware....
    • How do you connect 5.1 Speakers to this thing?
    • I agree with both of you... It's absolutely imperative that science is completely based on actual proven facts and hard evidence and is not considered dogmatic in any way. Science is not a religion and it will never be, and that's exactly how it's supposed to be.
  • Recent Achievements

    • Dedicated
      JuvenileDelinquent earned a badge
      Dedicated
    • First Post
      DrWankel earned a badge
      First Post
    • Reacting Well
      DrWankel earned a badge
      Reacting Well
    • Week One Done
      Supreme Spray LV earned a badge
      Week One Done
    • Week One Done
      Genuinetonerink- Dubai earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      502
    2. 2
      +Edouard
      170
    3. 3
      PsYcHoKiLLa
      88
    4. 4
      Steven P.
      75
    5. 5
      Michael Scrip
      73
  • Tell a friend

    Love Neowin? Tell a friend!