Opened 2 years ago

Closed 23 months 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:


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 Changed 2 years ago by Nicklas Nordborg

Owner: set to Nicklas Nordborg
Status: newassigned

comment:2 Changed 2 years ago by Nicklas Nordborg

(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 Changed 23 months ago by Nicklas Nordborg

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