尝试使用此脚本将某些文件上传到我的网络服务器
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
这一切都运行良好,直到curl行运行,然后在我的日志中出现此错误FTP_USER
:
FTP_PASSWORD
变量FTP_ADDRESS
,language: generic
notifications:
email: false
env:
global:
- secure: rflqYVUyuPa8xNN//xHoeoY0dnc/EU1JaITTJvNQat/4/iczFz5/3D4THQ9g/9j8/+TzkRfTnSnoG2Cp8ByBQTjHA1aKKBFXwIAaR8gkE0x8XvArxXW8/tuLx38kKZGaYTE7hbmDJFRdq5sgGLmUYCYM/k4axTi4DOuQtOav4fkkiNlSYNIK70LH3xYh9uhOeJvgy9GpJSE6US6j5nCTZB3xNsRfseRF9bDzZVwdP9uXCtJkdhjtjJyO3q9lATp98+5C64aG+ZvO2xRWpk76Z0yFx6/MgLCpcy3ZCBHbh/alWQnreIxNQ4k1FbBr5b7VYP5JXxVkpTu4mO+tRKzgLyr0D9YDEUgF7FJvpKCh8ah2JRStguZAqOFEvJXslaSiHONLf707aAzIDJJ0IlpjuEQ0gYR5fuNW+v/ujVEFOvpq08hlWICXcUiWGLHLf01GbYNmTKyGwNcczBlXK1MP83hjv50/ksvzXtqKfDKc68x3JwNBV9ATLAjH2xhwUC43T+i/bqVxB3h/c9FOlI2KZDSqgpL5l9APMrbY0Mt4gLpzIfCJVhY0E1xtR3ou3vdMr8uJY6x9UIbBDEaawl9YL5wYIt5I5/iETi5CXynafi4Wqtnax5/EI4+WaQ0o0SG1lvKvkhtB7vu5htkEvKFOYmfSCz8vcQnko2Ej1xsHYrU=
- secure: bFcmOkZb4cjLaLvi8qtc/KpMH4Z9bK/q5xcncPUuuLYFOVaguS7I5rUjjHFdGjJA6hIyhUjm0dWBOX9RbqKb68gRBl+2TNKleX8i1E61LuEY1wo7dqSGjXFQcTI3LC3GxuyhdmzvEeK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nPN7X5EIWuxKZGFd+2DaMFe0PxB+8nv1VJogujJ2rA/0RqpsifmEyyzsleGmJ8Gf8fEyzC7aJCOJqwoZpZ7NrOjvwO8F9irqA/QOCQ3/F+5avazNKkykgsavw9IUKl1eC0lxvZLILS2tk=
before_install:
- chmod +x deploy.sh
after_success:
./deploy.sh
和* Hostname was NOT found in DNS cache
* Trying [secure]...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to [secure] ([secure]) port 21 (#0)
< 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
< 220-You are user number 1 of 50 allowed.
< 220-Local time is now 10:33. Server port: 21.
< 220-This is a private system - No anonymous login
< 220-IPv6 connections are also welcome on this server.
< 220 You will be disconnected after 15 minutes of inactivity.
> USER [secure]
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0< 421 Sorry, cleartext sessions are not accepted on this server.
* We got a 421 - timeout!
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Closing connection 0
curl: (28) Timeout was reached
都在我的.travis.yml文件中分配
MyClass.java
更新:在curl命令中添加-v会给出此输出
MyClass