Press CTRL+C or CMD+C to copy the selected text and close this dialog.
Tweet
0 people like it. Like the snippet!
1: 2: 3: 4: 5: 6: 7:
async { let req = FtpWebRequest.Create(ftpUrl) :?> FtpWebRequest req.Method <- WebRequestMethods.Ftp.DownloadFile let! response = req.AsyncGetResponse() use stream = response.GetResponseStream() return streamMap(stream) } |> (fun x -> Async.RunSynchronously(x, timeout.TotalMilliseconds |> int))