![](http://oshiete.xgoo.jp/images/v2/pc/qa/question_title.png?e8efa67)
こちらのサイトを参考にしているのですが
http://www.aconus.com/~oyaji/centos/vsftpd_cento …
http://centossrv.com/vsftpd.shtml
サーバー : VSFTPD+SSL
クライアント : SmartFTP
ユーザー : user01
という環境でファイルをアップロードできません。
vsftpd.confの設定は以下のとおりです。
anonymous_enable=NO
ascii_upload_enable=YES
ascii_download_enable=YES
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list
ls_recurse_enable=YES
pam_service_name=vsftpd
userlist_enable=YES
userlist_deny=NO
userlist_file=/etc/vsftpd/user_list
tcp_wrappers=YES
user_localtime=YES
force_dot_files=YES
ssl_enable=YES
ssl_tlsv1=YES
rsa_cert_file=/etc/pki/tls/certs/vsftpd.pem
そしてuser_listとchroot_listにuser01を追加しました。
SmartFTPで接続はできるのですが、いざファイルをアップロードしようとするとできないのです。
ログをみると次の4行が赤い文字で警告されていました。
550 Could not get file size.
550 Could not get file modification time.
550 Failed to change directory.
550 Could not get file modification time.
以下はログ全文です。
SmartFTP v3.0.1019.6
Resolving host name "***.***.***.***"
Connecting to ***.***.***.*** Port: 21
Connected to ***.***.***.***.
220 (vsFTPd 2.0.5)
AUTH TLS
234 Proceed with negotiation.
Connected. Exchanging encryption keys...
Session Cipher: 168 bit 3DES
TLS encrypted session established.
PBSZ 0
200 PBSZ set to 0.
USER user01
331 Please specify the password.
PASS (hidden)
230 Login successful.
SYST
215 UNIX Type: L8
Detected Server Type: UNIX
FEAT
211-Features:
AUTH SSL
AUTH TLS
EPRT
EPSV
MDTM
PASV
PBSZ
PROT
REST STREAM
SIZE
TVFS
211 End
PWD
257 "/home/user01"
CWD /var/www/html
250 Directory successfully changed.
PWD
257 "/var/www/html"
TYPE A
200 Switching to ASCII mode.
PROT P
200 PROT now Private.
PASV
227 Entering Passive Mode (***,***,***,***,***,***)
Opening data connection to ***.***.***.*** Port: 17465
LIST -aL
Connected. Exchanging encryption keys...
150 Here comes the directory listing.
Session Cipher: 168 bit 3DES
TLS encrypted session established.
240 bytes transferred. (905 バイト/s) (265 ms)
226 Directory send OK.
CWD /var/www/html/home
250 Directory successfully changed.
PWD
257 "/var/www/html/home"
PASV
227 Entering Passive Mode (***,***,***,***,***,***)
Opening data connection to ***.***.***.*** Port: 17762
LIST -aL
Connected. Exchanging encryption keys...
150 Here comes the directory listing.
Session Cipher: 168 bit 3DES
TLS encrypted session established.
119 bytes transferred. (586 バイト/s) (203 ms)
226 Directory send OK.
TYPE I
200 Switching to Binary mode.
SIZE index.html
550 Could not get file size. ←ここが赤文字で表示される
MDTM index.html
550 Could not get file modification time.←ここが赤文字で表示される
STAT index.html
213-Status follows:
213 End of status
CWD /var/www/html/home/index.html
550 Failed to change directory.←ここが赤文字で表示される
TYPE A
200 Switching to ASCII mode.
PASV
227 Entering Passive Mode (***,***,***,***,***,***)
Opening data connection to ***.***.***.*** Port: 25693
LIST -aL
Connected. Exchanging encryption keys...
150 Here comes the directory listing.
Session Cipher: 168 bit 3DES
TLS encrypted session established.
119 bytes transferred. (695 バイト/s) (171 ms)
226 Directory send OK.
The operation has been added to the Transfer Queue. Check the Transfer Queue for the status.
MDTM index.html
550 Could not get file modification time.←ここが赤文字で表示される
STAT index.html
213-Status follows:
213 End of status
また、Smartftpの接続には FTP over SSL Explicit を設定しています。
お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!
似たような質問が見つかりました
- その他(プログラミング・Web制作) laravel 本番環境でメールが送れません。 1 2023/02/17 17:57
- その他(SNS・コミュニケーションサービス) 自分のpcがハッキングされたようなメールが来たのですがどうすればいいですか? 4 2022/10/02 16:14
- 英語 英語得意な方、お願いします。 5 2022/08/20 14:08
- Windows 10 VirtualBox 7のゲストOSでの物理HDDパーティションのマウント方法 2 2023/05/04 13:01
- その他(プログラミング・Web制作) python fbprophetについて 1 2022/09/29 19:44
- MySQL 参考書に従って入力したつもりでしたが、最後はエラーがでました。 1 2022/09/28 03:45
- 英語 この英文は平易な反面格調高いですか? 1 2023/01/15 12:04
- その他(プログラミング・Web制作) mariadbでのエラー 1 2022/11/15 12:31
- その他(プログラミング・Web制作) Arduinoに関する質問 4 2023/08/07 21:19
- 英語 できるだけ直訳で英語の翻訳をお願いします。(英語→日本語) 1 2022/10/15 20:59
関連するカテゴリからQ&Aを探す
おすすめ情報
デイリーランキングこのカテゴリの人気デイリーQ&Aランキング
-
拡張子'html'と'htm'はどっちが...
-
VB初心者。小数点以下の表示で...
-
ブックマークからのアクセスを...
-
wordの数式について 定積分を書...
-
ラジオボタンが両方とも選択で...
-
「value」に2つの値をセットす...
-
このメールフォームが機能しな...
-
[HTML]プルダウンメニューの横...
-
FORMのselectの選択肢を最初か...
-
tracert ができない原因
-
チェックボックスの返す値
-
WEBページを強制的に横画面で見...
-
INPUT TYPE
-
チェックボックスとセレクトボ...
-
ボタンの処理
-
VB.net データーグリッドビュー...
-
select値をhiddenのvalueに渡し...
-
チェックボックスで選択した内...
-
Javascriptの変数をCGIに送る方法
-
(Perl)ReadParseによるハッシ...
マンスリーランキングこのカテゴリの人気マンスリーQ&Aランキング
-
VB初心者。小数点以下の表示で...
-
ブックマークからのアクセスを...
-
vsftpd+sslでアップロードできない
-
ローカルテストサーバーと本番...
-
SELECTでgroup byした時の挙動
-
<html>perlスクリプト</html>
-
Lightboxの表示位置に関して質...
-
HTMLでテキスト読み込み
-
水力学、流れに対し斜めに設置...
-
□携帯とPCの切り替え可能なホー...
-
htmlファイルが表示できません
-
携帯別サイトの作り方
-
外のhtmlに飛ばせる。
-
RedHat LINUX7.2のapacheについて
-
拡張子'html'と'htm'はどっちが...
-
【.htaccess】パスワードを設置...
-
大和ネクスト銀行の銀行コード
-
Apacheでのリファラーアクセス...
-
フリーズする原因
-
SSIうを使わず、HTMLにアクセス...
おすすめ情報