OSDN Git Service

ファイル取得でパス指定忘れ対処
authorkiri_feather <kiri_feather@users.sourceforge.jp>
Thu, 3 Jun 2010 17:40:22 +0000 (17:40 +0000)
committerKimura Youichi <kim.upsilon@bucyou.net>
Sat, 18 Feb 2012 14:13:11 +0000 (23:13 +0900)
git-svn-id: http://svn.sourceforge.jp/svnroot/tween/trunk@436 e39ad16e-3079-482e-bb30-4b4d378143b6

Tween/Connection/HttpConnection.vb

index 71b9162..353cc32 100644 (file)
@@ -138,7 +138,7 @@ Public Class HttpConnection
                         Dim postBytes As Byte() = Encoding.UTF8.GetBytes(postData)
                         reqStream.Write(postBytes, 0, postBytes.Length)
 
-                        Using fs As New FileStream(kvp.Value.Name, FileMode.Open, FileAccess.Read)
+                        Using fs As New FileStream(kvp.Value.FullName, FileMode.Open, FileAccess.Read)
                             Dim readSize As Integer = 0
                             Dim readBytes(&H1000) As Byte
                             While True