Uploads the specified file.
Namespace: Jscape.SftpAssembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0
Syntax
C# |
---|
public void Upload(
FileInfo file,
string remoteName,
bool append
) |
Visual Basic |
---|
Public Sub Upload ( _
file As FileInfo, _
remoteName As String, _
append As Boolean _
) |
Visual C++ |
---|
public:
void Upload(
FileInfo^ file,
String^ remoteName,
bool append
) |
Parameters
- file
- Type: System.IO..::..FileInfo
the file to upload
- remoteName
- Type: System..::..String
the remote filename
- append
- Type: System..::..Boolean
the file append flag
Exceptions
See Also