質問編集履歴

1

書式の改善

2015/12/07 00:43

投稿

ro_seberry
ro_seberry

スコア11

test CHANGED
File without changes
test CHANGED
@@ -1,20 +1,20 @@
1
1
  FTPにてサーバーから動画データーをダウンロードしようとしていますが、
2
2
 
3
- 実際ダウンロードサイズは1MByteですが、366kByteしかダウンロードできません
3
+ 実際ダウンロードサイズは1MByteですが、366kByteしかダウンロードできません
4
4
 
5
- String path = "/data/data/" + getPackageName() + "/files/";
5
+ String path = "/data/data/" + getPackageName() + "/files/";
6
6
 
7
- new File(path).mkdir();
7
+ new File(path).mkdir();
8
8
 
9
- // 受信
9
+ // 受信
10
10
 
11
- fos = new FileOutputStream(path + "cofee.3gp");
11
+ fos = new FileOutputStream(path + "cofee.3gp");
12
12
 
13
- if (!ftp.retrieveFile("/www/htdocs/gijyutu_test/cofee.3gp", fos)) {
13
+ if (!ftp.retrieveFile("/www/htdocs/gijyutu_test/cofee.3gp", fos)) {
14
14
 
15
- return "ファイルの受信に失敗しました";
15
+ return "ファイルの受信に失敗しました";
16
16
 
17
- }
17
+ }
18
18
 
19
19
 
20
20