Cannot upload with CURL

Website URL: tanelorn.gt.tc

I can connect and upload using Viper FTP Lite so I know the server, username and passwd are correct but cannot connect using CURL

Using command : curl -v --ssl-reqd -u f0_41337192:{passwd} -T /Users/gazza/disco.jpg ftp: //ftpupl oad .net

Error Message : Access denied: 530

Verbose output :
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:–:-- --:–:-- --:–:--     0\* Host ftpupload .net:21 was resolved.

* IPv6: (none)
* IPv4: 185.27.134.11
* Trying 185.27.134.11:21…
* Connected to ftpupload .net (185.27.134.11) port 21
  < 220---------- Welcome to Pure-FTPd \[privsep\] \[TLS\] ----------
  < 220-You are user number 1721 of 6900 allowed.
  < 220-Local time is now 12:26. Server port: 21.
  < 220-This is a private system - No anonymous login
  < 220 You will be disconnected after 60 seconds of inactivity.

> AUTH SSL
> < 500 This security scheme is not implemented
> AUTH TLS
> < 234 AUTH TLS OK.

* (304) (OUT), TLS handshake, Client hello (1):
  } \[300 bytes data\]
* CAfile: /etc/ssl/cert.pem
* CApath: none
* (304) (IN), TLS handshake, Server hello (2):
  { \[88 bytes data\]
* (304) (OUT), TLS handshake, Client hello (1):
  } \[333 bytes data\]
* (304) (IN), TLS handshake, Server hello (2):
  { \[155 bytes data\]
* (304) (IN), TLS handshake, Unknown (8):
  { \[10 bytes data\]
* (304) (IN), TLS handshake, Certificate (11):
  { \[6768 bytes data\]
* (304) (IN), TLS handshake, CERT verify (15):
  { \[520 bytes data\]
* (304) (IN), TLS handshake, Finished (20):
  { \[52 bytes data\]
* (304) (OUT), TLS handshake, Finished (20):
  } \[52 bytes data\]
* SSL connection using TLSv1.3 / AEAD-AES256-GCM-SHA384 / \[blank\] / UNDEF
* Server certificate:
* subject: CN=ftpupload .net
* start date: Sep 26 00:00:00 2025 GMT
* expire date: Oct 27 23:59:59 2026 GMT
* subjectAltName: host “ftpupload .net” matched cert’s “ftpupload .net”
* issuer: C=GB; O=Sectigo Limited; CN=Sectigo Public Server Authentication CA DV R36
* SSL certificate verify ok.

> USER f0_41337192
> < 331 User f0_41337192 OK. Password required
> PASS {passwd}
> 0     0    0     0    0     0      0      0 --:–:--  0:00:05 --:–:--     0< 530 Login authentication failed

* Access denied: 530
  0     0    0     0    0     0      0      0 --:–:--  0:00:05 --:–:--     0
* Closing connection
  curl: (67) Access denied: 530

(I have added spaces to ftpupload.net in the above as it wont let me post it with all the links parsed)

Hope someone can help :slight_smile:

You are entering the wrong username.

Usernames starts with if0, not f0

DOH !
Thank you.

It still doesnt work though, I now get “curl: (18) server did not report OK, got 451”

I’ve sussed it out.

curl -v --ftp-pasv -T [filename] -u [username]:[passwd] ftp://ftpupload.net/htdocs/