Opened 4 months ago

Closed 7 weeks ago

#934 closed enhancement (fixed)

Improve API for uploading files

Reported by: nicklas Owned by: nicklas
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 Changed 4 months ago by nicklas

  • Owner set to nicklas
  • Status changed from new to assigned

comment:2 Changed 4 months ago by nicklas

(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 7 weeks ago by nicklas

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.