Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chzar authored Nov 17, 2020
1 parent d77524a commit e7406d1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ github.com/kardianos/service
github.com/pin/tftp
## Usage
### Example:
`justatftpd.exe --dir ./ --ro=false --conns :69`
`justatftp.exe --dir ./ --ro=false --conns :69`

### Flags:
--dir Path to directory you want to serve. Recommended to use unix style absolute paths. Default ./
--ro When true, the tftp server runs in read only mode. Default false
--conns Connection string. Examples :69, 0.0.0.0:69, 192.168.1.1:69. Default: :69

### Installing the service
`justatftpd.exe --dir ./ --ro=true --conns :69 install`
`justatftp.exe --dir ./ --ro=true --conns :69 install`

### Uninstalling the service
`justatftpd.exe --dir ./ --ro=true --conns :69 uninstall`
`justatftp.exe --dir ./ --ro=true --conns :69 uninstall`

### Logging
justatftpd logs to the windows event log when run as a service.
just-a-tftp logs to the windows event log when run as a service.

## A note about PXE booting
juatatftpd does not implement variable window sizing like the server bundled in Windows Deployment Services.
juat-a-tftp does not implement variable window sizing like the server bundled in Windows Deployment Services.
This means that you will not be able to transfer large WIM or ISO images using justatftpd.
You should use either pxelinux or iPXE to transfer large files over HTTP. Most modern NBPs support this feature.

0 comments on commit e7406d1

Please sign in to comment.