curl -T somefile.tar.bz2 ftp://example.com –user myuser:mypass