Opened 7 years ago

Closed 7 years ago

#934 closed enhancement (fixed)

Improve API for uploading files

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: Open Grid Scheduler service v1.1
Component: net.sf.basedb.opengrid Keywords:
Cc:

Description

The current implementation for uploading files can only upload already existing files. It is lacking a stream-based upload method. We should add a method that return an OutputStream instance that writes to the remote server.

Change History (3)

comment:1 by Nicklas Nordborg, 7 years ago

Owner: set to Nicklas Nordborg
Status: newassigned

comment:2 by Nicklas Nordborg, 7 years ago

(In [4338]) References #934: Improve API for uploading files

Added writeFile() method that opens an OutputStream to a file on the remote server.

Also added mkdirs() method for creating directories on the remote server (using the mkdirs -p shell command).

comment:3 by Nicklas Nordborg, 7 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.