Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. <asp:FileUpload ID="FileUpload" runat="server" />
  2.  
  3. fs = File.OpenRead("file location. If I hard code path to file this works")
  4. Dim b(FileUpload.FileBytes.Length) As Byte
  5. Do While fs.Read(b, 0, b.Length) > 0
  6. blockBlob.UploadFromStream(fs)
  7. Loop
  8. fs.Close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement