Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion FastDFS/Storage/UPLOAD_FILE.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ public override FDFSRequest GetRequest(params object[] paramList)
IPEndPoint endPoint = (IPEndPoint)paramList[0];

byte storePathIndex = (byte)paramList[1];
long fileSize = (long)paramList[2];
//long fileSize = (long)paramList[2]; //会引发"指定的转换无效"
long fileSize = Convert.ToInt64(paramList[2]);
string ext = (string)paramList[3];

Stream stream = paramList[4] as Stream;
Expand Down