ubuntu:curl:upload_a_file_with_ftp
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ubuntu:curl:upload_a_file_with_ftp [2019/11/27 00:17] – created peter | 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.1574813835.txt.gz · Last modified: 2020/07/15 09:30 (external edit)