Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

流上传前获得流的大小 #127

Merged
merged 4 commits into from
Jul 4, 2014
Merged

流上传前获得流的大小 #127

merged 4 commits into from
Jul 4, 2014

Conversation

sxci
Copy link
Contributor

@sxci sxci commented Jun 24, 2014

No description provided.

MultipartEntity requestEntity = new MultipartEntity();
try {
requestEntity.addPart("token", new StringBody(uptoken));
AbstractContentBody fileBody = buildFileBody(file, extra);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

java.io.File 可以获取到filename

@longbai
Copy link
Contributor

longbai commented Jul 4, 2014

LGTM

longbai added a commit that referenced this pull request Jul 4, 2014
@longbai longbai merged commit f768dac into qiniu:develop Jul 4, 2014
@longbai longbai mentioned this pull request Jul 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants