User Tools

Site Tools


curl:upload_a_file_with_ftp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
curl:upload_a_file_with_ftp [2016/07/01 23:58] petercurl: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 ======
  
-<code>+<code bash>
 curl -T uploadfilename -u username:password ftp://sitename.com/myfile curl -T uploadfilename -u username:password ftp://sitename.com/myfile
 </code> </code>
Line 11: Line 11:
 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.
  
-<code>+<code bash>
 curl -T uploadfilename -u username:password ftp://sitename.com/directory/myfile curl -T uploadfilename -u username:password ftp://sitename.com/directory/myfile
 </code> </code>
 +
curl/upload_a_file_with_ftp.1467417498.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki