toUpload

fun Path.toUpload(contentType: String, fileSystem: FileSystem = systemFileSystem): Upload
fun File.toUpload(contentType: String): DefaultUpload