Hello @kailinatsafe , thanks for the fast response. I tried with "test.zip", which causes the same issue. I even tried it with a UUID.
The following verbose result is produced:
curl -v -T test.zip ftp://ftp.safe.com/incoming
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 52.37.1.147...
* TCP_NODELAY set
* Connected to ftp.safe.com (52.37.1.147) port 21 (#0)
< 220 (vsFTPd 3.0.2)
> USER anonymous
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0< 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 (|||30058|).
* Trying 52.37.1.147...
* TCP_NODELAY set
* Connecting to 52.37.1.147 (52.37.1.147) port 30058
* Connected to ftp.safe.com (52.37.1.147) port 21 (#0)
> TYPE I
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0< 200 Switching to Binary mode.
> STOR incoming
< 553 Could not create file.
* Failed FTP upload: 553
* Remembering we are in dir ""
* Uploaded unaligned file size (0 out of 5913803516 bytes)
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
* Connection #0 to host ftp.safe.com left intact
curl: (25) Failed FTP upload: 553
> QUIT
< 221 Goodbye.
* Closing connection 0
I am running on MacOs, disabled firewall, chowned the file to 777, running as `sudo` all resulting in the same problem.