def remove(gridfile, se = None): """ Remove a file from a storage element """ gr = Grid() return gr.getData().remove(gridfile, gr.getVo(), se)
def download(gridfile, localfile): """ Doenload a file from a storage element """ gr = Grid() return gr.getData().download(gridfile, localfile, gr.getVo())
def replicate(gridfile, se): """ Replicate (Copy) a file to the storage element """ gr = Grid() return gr.getData().replicate(gridfile, se, gr.getVo())
def upload(localfile, gridfile, se): """ Upload a file to a storage element """ gr = Grid() return gr.getData().upload(localfile, gridfile, gr.getVo(), se)