Created
February 22, 2021 14:49
-
-
Save conorgriffin/1c49c55fcb66f4be2500da15d00e5af4 to your computer and use it in GitHub Desktop.
FtpIOGraphStage - Single Read Request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected[this] def doPreStart(): Unit = | |
isOpt = ftpLike match { | |
case ro: RetrieveOffset => | |
Some(ro.retrieveFileInputStream(path, handler.get.asInstanceOf[ro.Handler], offset).get) | |
case _ => | |
Some(ftpLike.retrieveFileInputStream(path, handler.get).get) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment