name
The name of the target file.
Declaration
var name: String? { get set }Discussion
This property contains the filename without any preceding path information. The default value of this property is derived from the path information in the url property. You can change the value of this property as needed if you want to associate a different name with the file.