PowerTCP FTP for .NET
SetType Method



Transfer type to use.
Sends the TYPE command.
Syntax
Public Function SetType( _
   ByVal type As FileType _
) As Response
Dim instance As Ftp
Dim type As FileType
Dim value As Response
 
value = instance.SetType(type)
public Response SetType( 
   FileType type
)
public:
Response^ SetType( 
   FileType type
) 

Parameters

type
Transfer type to use.

Return Value

Response, or null if no command was sent.
Remarks

Set AsciiExtensions.Enabled to false and use this command to override automatic use of the TYPE command.

Type returns the current transfer type.

The TYPE command will only be sent if there is a change in transfer type.

See Also

Reference

Ftp Class
Ftp Members


PowerTCP FTP for .NET Documentation Version 6.1
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic