Opened 8 years ago
Closed 8 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 , 8 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:2 by , 8 years ago
comment:3 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
(In [4338]) References #934: Improve API for uploading files
Added
writeFile()
method that opens anOutputStream
to a file on the remote server.Also added
mkdirs()
method for creating directories on the remote server (using themkdirs -p
shell command).