2016-11-15 2 views
0

で失敗私は、次のcurlコマンドを実行すると、私はエラーを取得しています、クライアント上の特定のパスにサーバーからファイルをダウンロードしようとしています:カールファイルのダウンロードはRETR応答550

curl -u test:test "ftp://<serverip>/home/test/README.txt" -o ~/home/dccom/testserver/db/log/README.txt 
The curl command error is as follows : 
% Total % Received % Xferd Average Speed Time Time  Time Current 
          Dload Upload Total Spent Left Speed 
0 0 0  0 0  0  0  0 --:--:-- --:--:-- --:--:--  0 
curl: (78) RETR response: 550 

してくださいこのダウンロードに適切なフォーマットがあるかどうかをご確認ください

答えて

0
-The path format changing will work : 

curl -u test:test 'ftp://10.226.45.7/%2fhome/test/README.txt' -o /home/dccom/testserver/db/log/README.txt 
+2

これは別の*パス*とは違う*フォーマット* –