curl:upload_a_file_with_ftp
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
curl:upload_a_file_with_ftp [2016/07/01 23:58] – created peter | curl:upload_a_file_with_ftp [2020/09/25 13:12] (current) – created 192.168.1.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Curl - Upload a file with FTP ====== | ====== Curl - Upload a file with FTP ====== | ||
- | < | + | < |
curl -T uploadfilename -u username: | curl -T uploadfilename -u username: | ||
</ | </ | ||
- | The ‘**uploadfilename**’ file will be copied to the remote site and named ‘myfile’. | + | * 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. | To copy to some other directory specify the directory after the site name;e.g. | ||
- | < | + | < |
curl -T uploadfilename -u username: | curl -T uploadfilename -u username: | ||
</ | </ | ||
+ |
curl/upload_a_file_with_ftp.1467417483.txt.gz · Last modified: 2020/07/15 09:30 (external edit)