The project of U-WA-
http://uwa.potetihouse.com/
トップページ > 過去ログ > 記事閲覧
アイコン アップロード時の不具合
日時: 2008/11/12 22:47
名前: Yes!

はじめまして。
MagicMorror(v1.6.2)便利に使わせていただいています。

詳細な条件は分かりませんが、サーバへのFTP転送時に、指定ディレクトリとは別の
ディレクトリに転送されることがあります。

もともと、サーバ上が
サーバ

├ hoge
│ ├ fuga1.htm
│ └ fuga1.files <DIR>

└ index.htm

となっていて、PCフォルダが
PCフォルダ

├ hoge
│ ├ fuga1.htm
│ ├ fuga1.files <DIR>
│ ├ fuga2.htm
│ └ fuga2.files <DIR>

└ index.htm

となっていたとします。

この構成でクイックアップロードした際に、
サーバ

├ hoge
│ ├ fuga1.htm
│ ├ fuga1.files <DIR>
│ └ fuga2.htm

├ fuga2.files <DIR>

└ index.htm

と、PCフォルダとは違う場所にフォルダが作られる事があります。
(この例では、fuga2.files <DIR>)

この現象がおきた時、同時接続数10で接続していました。

対策していただけるとうれしいです。
よろしくお願いします。

Page: 1 |

ファイル Re: アップロード時の不具合 ( No.1 )
日時: 2008/11/13 22:42
名前: Toki◆pRU.c9X.EOI

現象は頻繁に発生するのでしょうか?

接続先のサーバーについての情報をお知らせください

また、「アカウント設定」で
「詳細」−「リスト取得」にある
・ファイル/フォルダへのフルパスでのアクセスを行わない
の設定を変更してみてください

予想では、同時アクセス中にフォルダの移動で、
サーバーがエラーを返しているような気がするのですが、
サーバーの詳細がわからないので何ともいえません。

同様の現象が頻繁に発生するようなら、通信ログを取得するようご協力お願いします。
ファイル Re: アップロード時の不具合 ( No.2 )
日時: 2008/11/15 10:39
名前: Yes!

ちょっと構成を変えて再度やってみました。
やっぱり同現象が発生しました。
(今のところ、再現率100%です)

サーバ

└ index.html(※)

これに下記PCフォルダをアップロードすると、
PCフォルダ

├ test
│ ├ hoge.htm
│ ├ hoge.files <DIR>
│ │ └ hoge.gif
│ ├ fuga.htm
│ └ fuga.files <DIR>
│  └ fuga.gif

└ index.html(※)

この様になりました。
サーバ

├ test
│ ├ hoge.htm
│ └ fuga.htm

├ hoge.files <DIR>

├ fuga.files <DIR>
│ └ fuga.gif


└ index.html(※)

(※)実際はこの他にもファイルがありますが、省略しています。


この時のログは以下の通りです。
(関係ありそうなところだけ抜粋しています)

--- 接続1 ---
[22:08:29] CWD test
[22:08:29] > 550 test: No such file or directory
[22:08:29] CWD /
[22:08:29] > 250 CWD command successful.
[22:08:29] CWD test
[22:08:29] > 550 test: No such file or directory
[22:08:29] MKD test
[22:08:29] > 257 "/test" - Directory successfully created
[22:08:29] CWD test

--- 接続2 ---
[22:08:31] CWD test
[22:08:31] > 250 CWD command successful.
[22:08:31] CWD hoge.files
[22:08:31] > 550 hoge.files: No such file or directory
[22:08:31] CWD /
[22:08:31] > 250 CWD command successful.
[22:08:31] CWD test
[22:08:31] > 250 CWD command successful.
[22:08:31] CWD hoge.files
[22:08:31] > 550 hoge.files: No such file or directory
[22:08:31] CDUP
[22:08:31] > 250 CDUP command successful.
[22:08:31] CWD hoge.files
[22:08:31] > 250 CWD command successful.
[22:08:31] CDUP
[22:08:31] > 250 CDUP command successful.
[22:08:31] CWD fuga.files
[22:08:31] > 250 CWD command successful.
[22:08:31] TYPE I
[22:08:31] > 200 Type set to I
[22:08:31] PASV
[22:08:31] > 227 Entering Passive Mod
[22:08:31] STOR fuga.gif

--- 接続4 ---
[22:08:30] CWD test
[22:08:30] > 250 CWD command successful.
[22:08:30] CWD hoge.files
[22:08:30] > 550 hoge.files: No such file or directory
[22:08:30] CWD /
[22:08:30] > 250 CWD command successful.
[22:08:30] CWD test
[22:08:30] > 250 CWD command successful.
[22:08:30] CWD hoge.files
[22:08:30] > 550 hoge.files: No such file or directory
[22:08:30] CDUP
[22:08:30] > 250 CDUP command successful.
[22:08:30] CWD hoge.files
[22:08:30] > 250 CWD command successful.

--- 接続5 ---
[22:08:31] CWD test
[22:08:31] > 250 CWD command successful.
[22:08:31] CWD fuga.files
[22:08:31] > 550 fuga.files: No such file or directory
[22:08:31] CWD /
[22:08:31] > 250 CWD command successful.
[22:08:31] CWD test
[22:08:31] > 250 CWD command successful.
[22:08:31] CWD fuga.files
[22:08:31] > 550 fuga.files: No such file or directory
[22:08:31] CDUP
[22:08:31] > 250 CDUP command successful.
[22:08:31] CWD fuga.files
[22:08:31] > 250 CWD command successful.

--- 接続6 ---
[22:08:31] CWD test
[22:08:31] > 250 CWD command successful.
[22:08:31] CWD hoge.files
[22:08:31] > 550 hoge.files: No such file or directory
[22:08:31] CWD /
[22:08:31] > 250 CWD command successful.
[22:08:31] CWD test
[22:08:31] > 250 CWD command successful.
[22:08:31] CWD hoge.files
[22:08:31] > 550 hoge.files: No such file or directory
[22:08:31] CDUP
[22:08:31] > 250 CDUP command successful.
[22:08:31] CWD hoge.files
[22:08:31] > 250 CWD command successful.

--- 長くなったので、続きは次の記事に書きます ---
ファイル Re: アップロード時の不具合 ( No.3 )
日時: 2008/11/14 23:05
名前: Yes!

--- 接続7 ---
[22:08:30] CWD test
[22:08:30] > 250 CWD command successful.
[22:08:30] CWD fuga.files
[22:08:30] > 550 fuga.files: No such file or directory
[22:08:30] CWD /
[22:08:30] > 250 CWD command successful.
[22:08:30] CWD test
[22:08:30] > 250 CWD command successful.
[22:08:30] CWD fuga.files
[22:08:30] > 550 fuga.files: No such file or directory
[22:08:30] CDUP
[22:08:30] > 250 CDUP command successful.
[22:08:30] CWD fuga.files
[22:08:30] > 250 CWD command successful.
[22:08:30] PASV
[22:08:30] > 227 Entering Passive Mod
[22:08:30] NLST -alL fuga.gif
[22:08:30] > 150 Opening ASCII mode data connection for file list
[22:08:30] > 226-Transfer complete.

--- 接続8 ---
[22:08:29] CWD test
[22:08:29] > 250 CWD command successful.
[22:08:29] CWD fuga.files
[22:08:29] > 550 fuga.files: No such file or directory
[22:08:29] CWD /
[22:08:29] > 250 CWD command successful.
[22:08:29] CWD test
[22:08:29] > 250 CWD command successful.
[22:08:29] CWD fuga.files
[22:08:29] > 550 fuga.files: No such file or directory
[22:08:29] CDUP
[22:08:30] > 250 CDUP command successful.
[22:08:30] MKD fuga.files
[22:08:30] > 257 "/fuga.files" - Directory successfully created
[22:08:30] CDUP

--- 接続10 ---
[22:08:29] CWD test
[22:08:29] > 250 CWD command successful.
[22:08:29] CWD hoge.files
[22:08:29] > 550 hoge.files: No such file or directory
[22:08:29] CWD /
[22:08:29] > 250 CWD command successful.
[22:08:29] CWD test                       (1)
[22:08:29] > 250 CWD command successful.
[22:08:29] CWD hoge.files                    (2)
[22:08:29] > 550 hoge.files: No such file or directory
[22:08:29] CDUP                         (3)
[22:08:29] > 250 CDUP command successful.
[22:08:29] MKD hoge.files                    (4)
[22:08:30] > 257 "/hoge.files" - Directory successfully created
[22:08:30] CDUP
[22:08:30] > 250 CDUP command successful.
[22:08:30] CWD test
[22:08:30] > 250 CWD command successful.
[22:08:30] CWD hoge.files
[22:08:30] > 550 hoge.files: No such file or directory
[22:08:30] CWD /
[22:08:30] > 250 CWD command successful.
[22:08:30] CWD test
[22:08:30] > 250 CWD command successful.
[22:08:30] CWD hoge.files
[22:08:30] > 550 hoge.files: No such file or directory
[22:08:30] CDUP
[22:08:30] > 250 CDUP command successful.
[22:08:30] CWD hoge.files
[22:08:30] > 250 CWD command successful.
[22:08:30] PASV
[22:08:30] > 227 Entering Passive Mod
[22:08:30] NLST -alL hoge.gif
[22:08:30] > 150 Opening ASCII mode data connection for file list
[22:08:30] > 226-Transfer complete.


ログを見ていると、いくつか気になるところがあります。
例えば、接続10ですが、
 (1)/testに移動 ⇒ 成功!
 (2)/test/hoge.filesに移動 ⇒ 失敗!!
 (3)/(ひとつ上のディレクトリ)に移動 ⇒ 成功!
 (4)hoge.filesディレクトリを作成 ⇒ 成功
と、/test/hoge.filesではなく、/hoge.filesというディレクトリを作っています。
(ログの見方を間違っていたらすみません)


ちなみに、
・ファイル/フォルダへのフルパスでのアクセスを行わない
はチェックが入っています。

これを外すと、この現象は起きなくなりましたが、今度は、PCフォルダから
testディレクトリを削除してクイックアップロードを行っても、サーバ上の
testディレクトリが削除されなくなりました。。。

その時のログは以下の通りです。
[23:02:05] RMD hoge.files
[23:02:05] > 250 RMD command successful
[23:02:06] CWD /test/
[23:02:06] > 250 CWD command successful.
[23:02:06] RMD /test/
[23:02:06] > 550 /test/: Invalid argument
[23:02:08] CWD /
[23:02:08] > 250 CWD command successful.

testフォルダ以外は削除できています。


・ファイル/フォルダへのフルパスでのアクセスを行わない
がONの状態でも、OFFの状態でもこのような不都合が起きてしまっています。
どちらかの設定で正常に動作するようになってもらえると、うれしいです。


>サーバーの詳細がわからないので何ともいえません。
どの様な情報が必要でしょうか?
上記ログの他に必要な情報がありましたら、教えて頂ければお送りします。


以上、よろしくお願いいたします。
ファイル Re: アップロード時の不具合 ( No.4 )
日時: 2008/11/17 12:16
名前: Toki◆pRU.c9X.EOI

「ファイル/フォルダへのフルパスでのアクセスを行わない」
でのディレクトリ操作で不具合を発見したので修正しました。

指定外のディレクトリへサブディレクトリが作成されるのはこれが原因だったと思われます。

>testディレクトリを削除してクイックアップロードを行っても、サーバ上の
>testディレクトリが削除されなくなりました。。。

こちらの現象はRMDコマンドの発行に問題があるようですが今のところ不明です。

サーバーの詳細については、
自サバでしたら、FTPサーバーのプログラムとバージョンを
レンタルサーバーや、プロバイダのWebスペースでしたら、
サービス名をお教えください




ファイル Re: アップロード時の不具合 ( No.5 )
日時: 2008/11/24 16:58
名前: Yes!

修正ありがとうございます
(確認が遅くなってすみません)

v1.6.3で確認しました。
正常にアップロードできました。

>レンタルサーバーや、プロバイダのWebスペースでしたら、
>サービス名をお教えください
サーバはCOOL ONLINE(http://www.cool.ne.jp/)です。

ありがとうございました。

Page: 1 |