LFTP: New to linux and want to make sure I am going to use LFTP correctly
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Basically, we had a huge file dump at work and every time I try to copy it over drag and drop style it times out and i have spend a few minutes trying to figure out what/where to copy.
So I decided to setup an mget and let it run over night and it got a decent chunk of the data, but I still need to grab the remaining files.
I don't have write access to the FTP site so I can't do what I was thinking of doing of just making a copy of the folder with the data, delete the data I already copied and run mget from there. I did some digging around and found out about LFTP command.
So steps are, basically:
- LFTP and login to ftp site
- Folder is buried within folder structure, CD into the right spot (right?)
use following code:
mirror --only-missing "/local_folder/" "/FTP_folder/"
right?
Questions:
- the reasons I cd into the folder is that it's a super long and
complicated file path, if i do this, do i need to specify the ftp
folder since i am there? - is the syntax correct?
- I just want this to grab what isn't in the folder on my desktop
already since I know this connection will time out with the amount
of files there are and how big they are.
I'm just trying to figure this out before I actually run the command.
Thanks in advance!
linux mirror lftp
New contributor
add a comment |Â
up vote
0
down vote
favorite
Basically, we had a huge file dump at work and every time I try to copy it over drag and drop style it times out and i have spend a few minutes trying to figure out what/where to copy.
So I decided to setup an mget and let it run over night and it got a decent chunk of the data, but I still need to grab the remaining files.
I don't have write access to the FTP site so I can't do what I was thinking of doing of just making a copy of the folder with the data, delete the data I already copied and run mget from there. I did some digging around and found out about LFTP command.
So steps are, basically:
- LFTP and login to ftp site
- Folder is buried within folder structure, CD into the right spot (right?)
use following code:
mirror --only-missing "/local_folder/" "/FTP_folder/"
right?
Questions:
- the reasons I cd into the folder is that it's a super long and
complicated file path, if i do this, do i need to specify the ftp
folder since i am there? - is the syntax correct?
- I just want this to grab what isn't in the folder on my desktop
already since I know this connection will time out with the amount
of files there are and how big they are.
I'm just trying to figure this out before I actually run the command.
Thanks in advance!
linux mirror lftp
New contributor
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Basically, we had a huge file dump at work and every time I try to copy it over drag and drop style it times out and i have spend a few minutes trying to figure out what/where to copy.
So I decided to setup an mget and let it run over night and it got a decent chunk of the data, but I still need to grab the remaining files.
I don't have write access to the FTP site so I can't do what I was thinking of doing of just making a copy of the folder with the data, delete the data I already copied and run mget from there. I did some digging around and found out about LFTP command.
So steps are, basically:
- LFTP and login to ftp site
- Folder is buried within folder structure, CD into the right spot (right?)
use following code:
mirror --only-missing "/local_folder/" "/FTP_folder/"
right?
Questions:
- the reasons I cd into the folder is that it's a super long and
complicated file path, if i do this, do i need to specify the ftp
folder since i am there? - is the syntax correct?
- I just want this to grab what isn't in the folder on my desktop
already since I know this connection will time out with the amount
of files there are and how big they are.
I'm just trying to figure this out before I actually run the command.
Thanks in advance!
linux mirror lftp
New contributor
Basically, we had a huge file dump at work and every time I try to copy it over drag and drop style it times out and i have spend a few minutes trying to figure out what/where to copy.
So I decided to setup an mget and let it run over night and it got a decent chunk of the data, but I still need to grab the remaining files.
I don't have write access to the FTP site so I can't do what I was thinking of doing of just making a copy of the folder with the data, delete the data I already copied and run mget from there. I did some digging around and found out about LFTP command.
So steps are, basically:
- LFTP and login to ftp site
- Folder is buried within folder structure, CD into the right spot (right?)
use following code:
mirror --only-missing "/local_folder/" "/FTP_folder/"
right?
Questions:
- the reasons I cd into the folder is that it's a super long and
complicated file path, if i do this, do i need to specify the ftp
folder since i am there? - is the syntax correct?
- I just want this to grab what isn't in the folder on my desktop
already since I know this connection will time out with the amount
of files there are and how big they are.
I'm just trying to figure this out before I actually run the command.
Thanks in advance!
linux mirror lftp
linux mirror lftp
New contributor
New contributor
New contributor
asked 9 mins ago
Jesse Therrien
1
1
New contributor
New contributor
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Jesse Therrien is a new contributor. Be nice, and check out our Code of Conduct.
Jesse Therrien is a new contributor. Be nice, and check out our Code of Conduct.
Jesse Therrien is a new contributor. Be nice, and check out our Code of Conduct.
Jesse Therrien is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f474651%2flftp-new-to-linux-and-want-to-make-sure-i-am-going-to-use-lftp-correctly%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password