This shows you the differences between two versions of the page.
rl:labs:09:contents:07 [2024/11/23 16:39] laura.ruse [07. [5p] Download FTP folosind curl (fără autentificare)] |
rl:labs:09:contents:07 [2024/11/23 16:40] (current) laura.ruse [07. [5p] Download FTP folosind curl (fără autentificare)] |
||
---|---|---|---|
Line 5: | Line 5: | ||
Vom folosi ''curl'' pentru a descărca un fișier prin FTP. Pe stația ''red'' rulează un server FTP și pe stația ''host'' vom folosi comanda ''curl'' pentru a descărca fișierul localizat la ''/download/file-10M.dat'':<code bash> | Vom folosi ''curl'' pentru a descărca un fișier prin FTP. Pe stația ''red'' rulează un server FTP și pe stația ''host'' vom folosi comanda ''curl'' pentru a descărca fișierul localizat la ''/download/file-10M.dat'':<code bash> | ||
root@host:~# curl ftp://red/download/file-10M.dat | root@host:~# curl ftp://red/download/file-10M.dat | ||
- | Warning: Binary output can mess up your terminal. Use %%"%%--output -%%"%% to tell | + | Warning: Binary output can mess up your terminal. Use "--output -" to tell |
Warning: curl to output it to your terminal anyway, or consider "--output | Warning: curl to output it to your terminal anyway, or consider "--output | ||
Warning: <FILE>" to save to a file. | Warning: <FILE>" to save to a file. |