wiki:lftp
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:lftp [2020/04/29 16:59] – created walkeradmin | wiki:lftp [2023/03/09 22:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 14: | Line 14: | ||
\\ | \\ | ||
\\ | \\ | ||
+ | These two files were around 4GB and 15GB respectively. I had no issues with copying these files. I copied them from a local machine (Windows 10) using MobaXterm (which I believe uses sFTP when drag and drop file copying is used). | ||
+ | \\ | ||
+ | \\ | ||
+ | However, the third file was 90GB, and every time it got to 71% it failed. And during the third attempt, I noticed that the /opt partition was filling up, and its only 66GB in size. So for some reason, the files were being copied (or cached) before going to the final destination partition. | ||
+ | \\ | ||
+ | \\ | ||
+ | Long story short, I needed a way to get the files directly on to my desired partition. | ||
+ | \\ | ||
+ | \\ | ||
---- | ---- | ||
+ | ==== LFTP ==== | ||
+ | \\ | ||
+ | \\ | ||
+ | LFTP is an FTP client for Linux that supports ftp, http, sftp, fish, torrent etc. I used LFTP because just installing FTP on CentOS7 (yum install FTP) installs an FTP client that the customers FTP server did not like. | ||
+ | \\ | ||
+ | \\ | ||
+ | **Installing LFTP** | ||
+ | \\ | ||
+ | \\ | ||
+ | To install just use: <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | ==== Using LFTP ==== | ||
+ | |||
+ | To connect to an FTP server use: <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | I then copied the file to my required destination partition by using the following: <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | An example would be: <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | Using this method, the file was transferred to the correct partition, without first being copied to/cached somewhere else. | ||
+ | \\ | ||
+ | \\ | ||
- | ==== Simple Syntax ==== |
wiki/lftp.1588175985.txt.gz · Last modified: 2023/03/09 22:35 (external edit)