curl: (25) Failed FTP upload: 553
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I'm tyring to upload to a vsftpd ftp using curl with this line
curl -T "$ATTACHMENTS_DIR$file##*/" ftp://10.0.13.52/ -v
I have enabled all the anon settings, I'm just creating a test script so security is not a concern. When I run the command, I get the log below
* Trying 10.0.13.52...
* TCP_NODELAY set
% 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 10.0.13.52 (10.0.13.52) port 21 (#0)
< 220 (vsFTPd 3.0.2)
> USER anonymous
< 331 Please specify the password.
> PASS ftp@example.com
< 230 Login successful.
> PWD
< 257 "/"
* Entry path is '/'
> EPSV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
< 229 Entering Extended Passive Mode (|||7228|).
* Trying 10.0.13.52...
* TCP_NODELAY set
* Connecting to 10.0.13.52 (10.0.13.52) port 7228
* Connected to 10.0.13.52 (10.0.13.52) port 21 (#0)
> TYPE I
< 200 Switching to Binary mode.
> STOR local.pdf
< 553 Could not create file.
* Failed FTP upload: 553
* Remembering we are in dir ""
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Connection #0 to host 10.0.13.52 left intact
curl: (25) Failed FTP upload: 553
The login appears to be good but the issue happens on upload of the file
553 Could not create file.
Failed FTP upload: 553
As I mentioned above, I have set the settings to allow anon to upload files. I just added these at the end to the default provided conf file.
write_enable=YES
anon_other_write_enable=YES
anon_upload_enable=YES
anon_world_readable_only=YES
anonymous_enable=YES
anon_mkdir_write_enable=YES
anon_other_write_enable=YES
anon_upload_enable=YES
If I am missing something with the config, I would really appreciate if you would let me know.
curl ftp vsftpd
add a comment |Â
up vote
0
down vote
favorite
I'm tyring to upload to a vsftpd ftp using curl with this line
curl -T "$ATTACHMENTS_DIR$file##*/" ftp://10.0.13.52/ -v
I have enabled all the anon settings, I'm just creating a test script so security is not a concern. When I run the command, I get the log below
* Trying 10.0.13.52...
* TCP_NODELAY set
% 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 10.0.13.52 (10.0.13.52) port 21 (#0)
< 220 (vsFTPd 3.0.2)
> USER anonymous
< 331 Please specify the password.
> PASS ftp@example.com
< 230 Login successful.
> PWD
< 257 "/"
* Entry path is '/'
> EPSV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
< 229 Entering Extended Passive Mode (|||7228|).
* Trying 10.0.13.52...
* TCP_NODELAY set
* Connecting to 10.0.13.52 (10.0.13.52) port 7228
* Connected to 10.0.13.52 (10.0.13.52) port 21 (#0)
> TYPE I
< 200 Switching to Binary mode.
> STOR local.pdf
< 553 Could not create file.
* Failed FTP upload: 553
* Remembering we are in dir ""
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Connection #0 to host 10.0.13.52 left intact
curl: (25) Failed FTP upload: 553
The login appears to be good but the issue happens on upload of the file
553 Could not create file.
Failed FTP upload: 553
As I mentioned above, I have set the settings to allow anon to upload files. I just added these at the end to the default provided conf file.
write_enable=YES
anon_other_write_enable=YES
anon_upload_enable=YES
anon_world_readable_only=YES
anonymous_enable=YES
anon_mkdir_write_enable=YES
anon_other_write_enable=YES
anon_upload_enable=YES
If I am missing something with the config, I would really appreciate if you would let me know.
curl ftp vsftpd
Can you login to the ftp server and show us the owner and modes of the directory specified by theanon_root
entry in the conf file? Runningls -ld /var/whatever
is fine.
â Mark Plotnick
Aug 15 at 15:53
hi, here's what I get. (I changed the owner of the file from root, to analytics user)
â niccolo m.
Aug 15 at 16:27
drwx------ 2 analytics root 6 Aug 15 23:45 /var/ftp/pub/uploads/
â niccolo m.
Aug 15 at 16:27
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm tyring to upload to a vsftpd ftp using curl with this line
curl -T "$ATTACHMENTS_DIR$file##*/" ftp://10.0.13.52/ -v
I have enabled all the anon settings, I'm just creating a test script so security is not a concern. When I run the command, I get the log below
* Trying 10.0.13.52...
* TCP_NODELAY set
% 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 10.0.13.52 (10.0.13.52) port 21 (#0)
< 220 (vsFTPd 3.0.2)
> USER anonymous
< 331 Please specify the password.
> PASS ftp@example.com
< 230 Login successful.
> PWD
< 257 "/"
* Entry path is '/'
> EPSV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
< 229 Entering Extended Passive Mode (|||7228|).
* Trying 10.0.13.52...
* TCP_NODELAY set
* Connecting to 10.0.13.52 (10.0.13.52) port 7228
* Connected to 10.0.13.52 (10.0.13.52) port 21 (#0)
> TYPE I
< 200 Switching to Binary mode.
> STOR local.pdf
< 553 Could not create file.
* Failed FTP upload: 553
* Remembering we are in dir ""
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Connection #0 to host 10.0.13.52 left intact
curl: (25) Failed FTP upload: 553
The login appears to be good but the issue happens on upload of the file
553 Could not create file.
Failed FTP upload: 553
As I mentioned above, I have set the settings to allow anon to upload files. I just added these at the end to the default provided conf file.
write_enable=YES
anon_other_write_enable=YES
anon_upload_enable=YES
anon_world_readable_only=YES
anonymous_enable=YES
anon_mkdir_write_enable=YES
anon_other_write_enable=YES
anon_upload_enable=YES
If I am missing something with the config, I would really appreciate if you would let me know.
curl ftp vsftpd
I'm tyring to upload to a vsftpd ftp using curl with this line
curl -T "$ATTACHMENTS_DIR$file##*/" ftp://10.0.13.52/ -v
I have enabled all the anon settings, I'm just creating a test script so security is not a concern. When I run the command, I get the log below
* Trying 10.0.13.52...
* TCP_NODELAY set
% 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 10.0.13.52 (10.0.13.52) port 21 (#0)
< 220 (vsFTPd 3.0.2)
> USER anonymous
< 331 Please specify the password.
> PASS ftp@example.com
< 230 Login successful.
> PWD
< 257 "/"
* Entry path is '/'
> EPSV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
< 229 Entering Extended Passive Mode (|||7228|).
* Trying 10.0.13.52...
* TCP_NODELAY set
* Connecting to 10.0.13.52 (10.0.13.52) port 7228
* Connected to 10.0.13.52 (10.0.13.52) port 21 (#0)
> TYPE I
< 200 Switching to Binary mode.
> STOR local.pdf
< 553 Could not create file.
* Failed FTP upload: 553
* Remembering we are in dir ""
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Connection #0 to host 10.0.13.52 left intact
curl: (25) Failed FTP upload: 553
The login appears to be good but the issue happens on upload of the file
553 Could not create file.
Failed FTP upload: 553
As I mentioned above, I have set the settings to allow anon to upload files. I just added these at the end to the default provided conf file.
write_enable=YES
anon_other_write_enable=YES
anon_upload_enable=YES
anon_world_readable_only=YES
anonymous_enable=YES
anon_mkdir_write_enable=YES
anon_other_write_enable=YES
anon_upload_enable=YES
If I am missing something with the config, I would really appreciate if you would let me know.
curl ftp vsftpd
curl ftp vsftpd
asked Aug 15 at 15:19
niccolo m.
10816
10816
Can you login to the ftp server and show us the owner and modes of the directory specified by theanon_root
entry in the conf file? Runningls -ld /var/whatever
is fine.
â Mark Plotnick
Aug 15 at 15:53
hi, here's what I get. (I changed the owner of the file from root, to analytics user)
â niccolo m.
Aug 15 at 16:27
drwx------ 2 analytics root 6 Aug 15 23:45 /var/ftp/pub/uploads/
â niccolo m.
Aug 15 at 16:27
add a comment |Â
Can you login to the ftp server and show us the owner and modes of the directory specified by theanon_root
entry in the conf file? Runningls -ld /var/whatever
is fine.
â Mark Plotnick
Aug 15 at 15:53
hi, here's what I get. (I changed the owner of the file from root, to analytics user)
â niccolo m.
Aug 15 at 16:27
drwx------ 2 analytics root 6 Aug 15 23:45 /var/ftp/pub/uploads/
â niccolo m.
Aug 15 at 16:27
Can you login to the ftp server and show us the owner and modes of the directory specified by the
anon_root
entry in the conf file? Running ls -ld /var/whatever
is fine.â Mark Plotnick
Aug 15 at 15:53
Can you login to the ftp server and show us the owner and modes of the directory specified by the
anon_root
entry in the conf file? Running ls -ld /var/whatever
is fine.â Mark Plotnick
Aug 15 at 15:53
hi, here's what I get. (I changed the owner of the file from root, to analytics user)
â niccolo m.
Aug 15 at 16:27
hi, here's what I get. (I changed the owner of the file from root, to analytics user)
â niccolo m.
Aug 15 at 16:27
drwx------ 2 analytics root 6 Aug 15 23:45 /var/ftp/pub/uploads/
â niccolo m.
Aug 15 at 16:27
drwx------ 2 analytics root 6 Aug 15 23:45 /var/ftp/pub/uploads/
â niccolo m.
Aug 15 at 16:27
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f462767%2fcurl-25-failed-ftp-upload-553%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Can you login to the ftp server and show us the owner and modes of the directory specified by the
anon_root
entry in the conf file? Runningls -ld /var/whatever
is fine.â Mark Plotnick
Aug 15 at 15:53
hi, here's what I get. (I changed the owner of the file from root, to analytics user)
â niccolo m.
Aug 15 at 16:27
drwx------ 2 analytics root 6 Aug 15 23:45 /var/ftp/pub/uploads/
â niccolo m.
Aug 15 at 16:27