curl -T my-local-file.txt ftp://ftp.example.com --user user:secre
From here
Tag: ftp
Using FUSE to mount remote directories (when the more secure SSH connection is not available), with a program like curlftps, it’s possible to mount any remote directory like:
curlftpfs -o user=user:pass ftp.server.com /my/mount/point
This means that after any standard editor will become an FTP enabled editor.