You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following example, only the "Begin download" console log is written. It successfully downloads the file, but never moves beyond the line with DownloadFile. No errors are thrown, and nothing shows up using the new logging with LogLevel.Trace.
If I add a downloadCallback to DownloadFile, that is called, yet it still never moves forward from that line.
@Rob-Hague, thanks for the suggestions. The DownloadFile callback's last printed line has the number of bytes of the file, matching ISftpFile.Length.
Debugging in the library code doesn't seem to be fully supported by my IDE, as breakpoints can be hit, but the code cannot be stepped through. I checked multiple break points in SftpClient.InternalDownloadFile but didn't find where it is getting stuck.
If you have any other suggestions, I will check them out.
This is not an ideal suggestion but you could pull the code from this repository and build it in Debug configuration. There is already a console app "AotCompatibilityTestApp" which can be useful for running quick tests
In the following example, only the "Begin download" console log is written. It successfully downloads the file, but never moves beyond the line with
DownloadFile
. No errors are thrown, and nothing shows up using the new logging withLogLevel.Trace
.If I add a
downloadCallback
toDownloadFile
, that is called, yet it still never moves forward from that line.Any ideas what could be happening?
The text was updated successfully, but these errors were encountered: