Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
markwang0 committed Jul 4, 2023
1 parent 73d37b2 commit bd29194
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _posts/2022-08-13-lftp.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ $ lftp ftps://[Box email address]@ftp.box.com
Upload a local directory to Box (defaults to top-level Box directory without second path)
```sh
lftp foo@ftp.box.com:~> mirror -R /path/to/local/directory /path/to/Box/directory
````
```

Download a Box directory to your local machine
```sh
lftp foo@ftp.box.com:~> mirror /path/to/Box/directory /path/to/local/directory
````
```

Upload a local file to Box (defaults to top-level Box directory without `-o` flag and argument)
```sh
Expand All @@ -75,7 +75,7 @@ lftp foo@ftp.box.com:~> put /path/to/local.file -o /path/to/Box/directory
Download a Box file to your local machine (defaults to local $HOME directory without `-o` flag and argument)
```sh
lftp foo@ftp.box.com:~> get /path/to/Box.file -o /path/to/local/directory
````
```

Some more useful `lftp` shell commands:

Expand Down

0 comments on commit bd29194

Please sign in to comment.