2006年6月アーカイブ

MT 3.3 ja にバージョンアップ
ほぼ問題なくすんなり行った。
課題?
○Widget Manager(便利!)「月別ドロップダウン」を選択するとできる「アーカイブ」リンクが変。。まま。
○検索結果フィード が3.2のときのまま、1分に1回しか利用できない
 結構フィードに利用するには問題と思うのだが。。
 通常画面で検索を続けて行おうとすると、下記エラーが表示されてしまう。
 「エラーが発生しました: 現在検索中です。検索が終わるまでお待ちください。」
 とりあえず、 tmp/mt-throttle.db にIPが記述されており、消せばすぐに検索できるのは判った。

Widget Manager は解決。追記に。

| コメント(0) | トラックバック(0) | カテゴリ [ MT関連 ]

analogもGUIが多少不満があったので今回 AWStatus を利用してみた。

日本語対応版は下記で頂いた。
 AWStats 6.5完全日本語版のページ
 http://www.bflets.dyndns.org/Tools/AWStats.html
なかなかいい。
 ・IISでは送信バイト数(sc-bytes)がないと 無効ログとするのが少し困る。。
  仕方ないので過去分は適当な値を突っ込んだ。

| コメント(0) | トラックバック(0) | カテゴリ [ MT関連 ]

ストリームの利用例
 ○XP SP2, Win2003 SP1 でIEダウンロードファイル識別に利用。ZoneId
   @ITなど参照 http://www.atmarkit.co.jp/fwin2k/win2ktips/498zoneid/zoneid.html
 ○Win ServerでのMACとのファイル共有

NTFSストリームの動作について
 notepad での動作(拡張子による動作の違い)
  ・file.bin:sample.txt では開ける
  ・file.bin:sample では開けない

 moreでの動作(リダイレクトが必要)
  ・more < file.bin:sample では開ける
  ・more file.bin:sample では開けない
  ・more file.bin:sample.txt も開けない

| コメント(0) | トラックバック(0) | カテゴリ [ Windows ]

perlのインストール済みモジュール。再インストールの際の参考用

ppm> query *
Using cached query result set 1.
1. ActivePerl-Config [1.0] Override the ActivePerl configuration
2. ActivePerl-DocTools [1.1] Maintain HTML documentation
3. ActiveState-Utils [1.23] ActiveState's utility modules
4. Archive-Tar [1.26.1] Manipulates TAR archives
5. Archive-Zip [1.16] Provide an interface to ZIP archive files.
6. CGI [2.91] Simple Common Gateway Interface Class
7. Compress-Zlib [1.41] Interface to zlib compression library
8. Data-Dump [1.6] Stringified Perl data structures
9. DB_File [1.814] Perl5 access to Berkeley DB version 1.x
10. DBD-mysql [3.0002] A MySQL driver for the Perl5 Database Int~
11. DBI [1.50] Database independent interface for Perl
12. Digest-HMAC [1.1] Keyed-Hashing for Message Authentication
13. Digest-MD2 [2.3] Perl interface to the MD2 algorithm
14. Digest-MD4 [1.5.0.1] Perl interface to the MD4 algorithm
15. Digest-SHA1 [2.11] Perl interface to the SHA-1 algorithm
16. File-CounterFile [1.4] Persistent counters
17. File-Spec [0.82] portably perform operations on file names
18. File-Temp [0.12] return name and handle of a temporary fil~
19. Font-AFM [1.19] Interface to Adobe Font Metrics files
20. HTML-Entities-Inter~ [1.00] Call HTML::Entities::encode_entities, via~
21. HTML-Parser [3.50] Parsing of HTML documents
22. HTML-Tagset [3.10] Data tables useful in parsing HTML
23. HTML-Template [2.8] Perl module to use HTML Templates from CG~
24. HTML-Tree [3.19.1] Build and scan parse-trees of HTML
25. Image-Magick [6.2.1] ImageMagick PERL Extension
26. Image-Size [3.0] A library to extract height/width from im~
27. IO-String [1.8] Emulate file interface for in-core strings
28. IO-Zlib [1.4] IO:: style interface to Compress::Zlib
29. Jcode [0.88] Japanese Charset Handler
30. libwin32 [0.26.0.~ A collection of extensions that aims to p~
31. libwww-perl [5.805] Web API for Perl
32. LWP-UserAgent-Deter~ [1.03] a virtual browser that retries errors
33. Mail-Sendmail [0.79] Simple platform independent mailer
34. MD5 [2.3] Deprecated. Use Digest::MD5 instead.
35. MIME-Base64-Perl [1.00] Encoding and decoding of base64 strings
36. MIME-Base64-Scripts [1.0] Scripts to encode/decode base64 and quote~
37. Module-Build [0.2801] Build and install Perl modules
38. Pod-Escapes [1.04] for resolving Pod E<...> sequences
39. Pod-Simple [3.04] framework for parsing Pod
40. ResourcePool [1.0104] A connection caching and pooling class.
41. ResourcePool-Resour~ [1.0101] SOAP::Lite bindings for ResourcePool
42. SOAP-Lite [0.55.0.~ Interface to the Simple Object Access Pro~
43. Term-ReadLine-Perl [1.2.3.2] Readline implementation in Perl
44. TermReadKey [2.30] Change terminal modes and perform non-blo~
45. Test-Pod [1.22] check for POD errors in files
46. Text-Autoformat [1.13] Automatic text wrapping and reformatting
47. Text-Reform [1.11] Manual text wrapping and reformatting
48. Tie-Function [0.02] wrap functions in tied hash sugar
49. Tie-StorableDir [0.075] Perl extension for tying directories with~
50. Tk [804.27.~ Tk - a Graphical User Interface Toolkit
51. Unicode-String [2.9] Unicode abstraction based on UTF-16
52. URI [1.35] Uniform Resource Identifier references (R~
53. Win32-AuthenticateU~ [0.2] Win32 user authentication package
54. XML-Parser [2.34.0.~ Parsing of XML documents
55. XML-Simple [2.14] Easy API to maintain XML (esp config file~
ppm>

| コメント(0) | トラックバック(0) | カテゴリ [ MT関連 ]

久々にPCを買いなおし。
色々とハマッタがなんとかこぎつけた。

残タスク。
 ・CPUファンの変更(バックプレートの変更)
   間違えてシールで張っちゃったしな。。
 ・旧サーバのコンデンサ取替え

またマザーボード引っぺがしからやり直すのは面倒だ。。(楽しいが)

| コメント(0) | トラックバック(0) | カテゴリ [ 日記 ]

備忘録。Windows 2003で検証。2000/XP でも昔やった記憶あり。たぶん同じ。

1)ftpコマンドを記載したファイルを作成
下記例。f.txt として保存

open 192.168.1.100
user user1 password1
lcd c:\dataget\20060603
bin
get data/data.zip
bye
quit


2)ftpコマンドでファイルを指定

ftp -n -s:f.txt

タスクスケジューラにでも登録すれば、定期的に実行も可能。

複数ファイルを一括指定したいときのオプション
mget を利用するなどして、
ftp -i -n -s:f.txt
と -i オプションを指定する。いちいちファイルの確認y/nが聞かれなくなる。

バッチなどでf.txtを別途自動作成させれば、もっと自由度があがる

f.txt 作成・ftp実行まで実行するバッチの例
 今日の日付の保存ディレクトリを作成しftp実行。ftp実行結果のログも保存。

mkftxt.bat

for /F "usebackq tokens=1,2,3,* delims=/ " %%I in (`date/T`) do (set datehensu=%%I%%J%%K )
mkdir c:\dataget\%datehensu%

echo open 192.168.1.100>f.txt
echo user user1 password1>>f.txt
echo lcd c:\dataget\%datehensu%>>f.txt
echo bin>>f.txt
echo mget data/*>>f.txt
echo bye>>f.txt
echo quit>>f.txt

ftp -n -i -s:f.txt >> c:\dataget\%datehensu%.log

bat バッチ処理ノウハウ(NT系)もご参照。

スクリプトの妙味は、自由度。

| コメント(0) | トラックバック(0) | カテゴリ [ Windows : バッチ・スクリプト ]

アーカイブ

ウェブページ

Get Firefox

Get Firefox Get Thunderbird
Powered by Movable Type 4.261

このアーカイブについて

このページには、2006年6月に書かれたブログ記事が新しい順に公開されています。

前のアーカイブは2006年5月です。

次のアーカイブは2006年7月です。