typecode=(typecode)
Instance Public methods
Args
- v
-
String
Description
public setter for the typecode v
. (with validation)
see also URI::FTP.check_typecode
Usage
1 2 3 4 5 6 7 8 | require 'uri' #=> #<URI::FTP:0x00000000923650 URL:ftp://john@ftp.example.com/my_file.img> uri.typecode = "i" # => "i" uri #=> #<URI::FTP:0x00000000923650 URL:ftp://john@ftp.example.com/my_file.img;type=i> |
Please login to continue.