exec 'scp -t rfile'
command)
@param localFilePath
@param remoteFilePath
@throws Exception
@param filename The name the remote server should use when creatingthe file on its file system. @param mode The TFTP mode of the transfer (one of the MODE constants). @param host The remote host receiving the file. @param port The port number of the remote TFTP server. @exception IOException If an I/O error occurs. The nature of theerror will be reported in the message.
Calls write(file, 0, file.length())
.
file
is null
@see #sendfile(java.io.File,long,long,org.glassfish.grizzly.CompletionHandler)
@since 2.2
Prefer {@link #sendFile(java.nio.file.attribute.BasicFileAttributes,java.nio.file.Path)} wherethe file attributes have already been retrieved to avoid another IO operation. @param file The file whose contents are to be used as the response body
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|