SSH Factory for .NET

Scp Methods

The methods of the Scp class are listed below. For a complete list of Scp class members, see the Scp Members topic.

Public Instance Methods

Connect Connects to the server.
CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Disconnect Disconnects from the server.
Dispose (inherited from Component)Releases all resources used by the Component.
DownloadOverloaded. Downloads file from SSH server and writes to specified output stream.
DownloadDir Downloads remote directory and contents recursively from SSH server. Downloads are stored relative to current local directory.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject)Obtains a lifetime service object to control the lifetime policy for this instance.
MdownloadOverloaded. Downloads specified files in current working remote directory from SSH server to local directory. Do not use this method to download a directory, see downloadDir(String) method. Downloads are stored relative to current local directory.
MuploadOverloaded. Uploads multiple files to SSH server. Uploads are performed relative to current local directory.
ToString (inherited from Component)Returns a String containing the name of the Component, if any. This method should not be overridden.
UploadOverloaded. Uploads file to SSH server where contents of file is not on disk but in memory.
UploadDirOverloaded. Uploads the specified directory.

See Also

Scp Class | Jscape.Scp Namespace