mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-13 20:15:22 +02:00
[191482] [importexport][efs] Export from Project on a remote EFS project Errors
This commit is contained in:
parent
dff4d56251
commit
db2c0c4ea1
1 changed files with 18 additions and 14 deletions
|
@ -118,6 +118,7 @@ class RemoteExporter {
|
|||
OutputStream outstream = rfss.getOutputStream(remoteParent, remoteFile, IFileService.NONE, new NullProgressMonitor());
|
||||
|
||||
InputStream instream = file.getContents();
|
||||
try {
|
||||
int length = 1000;
|
||||
byte[] buffer = new byte[length];
|
||||
|
||||
|
@ -132,10 +133,13 @@ class RemoteExporter {
|
|||
done = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
finally {
|
||||
instream.close();
|
||||
outstream.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes the passed resource to the specified location recursively
|
||||
|
|
Loading…
Add table
Reference in a new issue