NFS Help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Clement

    #1

    NFS Help

    how to get the file from NFS share in python......

  • Larry Bates

    #2
    Re: NFS Help

    Clement wrote:
    how to get the file from NFS share in python......
    >
    NFS share is mounted on your local directory, you get to it
    the same way you would any other file (e.g. go to the mount
    point and get the file).

    -Larry

    Comment

    • Clement

      #3
      Re: NFS Help

      On Apr 19, 11:44 pm, Larry Bates <larry.ba...@we bsafe.comwrote:
      Clement wrote:
      how to get the file from NFS share in python......
      >
      NFS share is mounted on your local directory, you get to it
      the same way you would any other file (e.g. go to the mount
      point and get the file).
      >
      -Larry
      I want to know how to do it programatically

      Comment

      • Larry Bates

        #4
        Re: NFS Help

        Clement wrote:
        On Apr 19, 11:44 pm, Larry Bates <larry.ba...@we bsafe.comwrote:
        >Clement wrote:
        >>how to get the file from NFS share in python......
        >NFS share is mounted on your local directory, you get to it
        >the same way you would any other file (e.g. go to the mount
        >point and get the file).
        >>
        >-Larry
        >
        I want to know how to do it programatically
        >
        What operating system are you on? If it is Linux you mount
        the NFS share and it becomes a subdirectory on your normal
        filesystem. You get the file by accessing it from the
        subdirectory.

        -Larry

        Comment

        • half.italian@gmail.com

          #5
          Re: NFS Help

          On Apr 19, 11:32 am, Clement <jeba.r...@gmai l.comwrote:
          how to get the file from NFS share in python......
          You need to be more specific.

          If you just want to copy a file try shutil

          Source code: Lib/shutil.py The shutil module offers a number of high-level operations on files and collections of files. In particular, functions are provided which support file copying and removal...


          ~Sean

          Comment

          Working...