ubuntu:curl:upload_a_file_with_ftp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
ubuntu:curl:upload_a_file_with_ftp [2020/07/15 09:30] – external edit 127.0.0.1 | ubuntu:curl:upload_a_file_with_ftp [2020/09/25 13:11] (current) – removed 192.168.1.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Ubuntu - Curl - Upload a file with FTP ====== | ||
- | |||
- | <code bash> | ||
- | curl -T uploadfilename -u username: | ||
- | </ | ||
- | |||
- | * The ‘**uploadfilename**’ file will be copied to the remote site and named ‘myfile’. | ||
- | * If the destination filename is eliminated the file will be copied with the original name. | ||
- | * By default the file will be copied to the root directory. | ||
- | |||
- | To copy to some other directory specify the directory after the site name;e.g. | ||
- | |||
- | <code bash> | ||
- | curl -T uploadfilename -u username: | ||
- | </ | ||
ubuntu/curl/upload_a_file_with_ftp.1594805433.txt.gz · Last modified: 2020/07/15 09:30 by 127.0.0.1