LogFile is created here. eg. you can set it to "" and no one can write. FOUND: eg. you can set it to "157.55.8?.*" eg. you can set it to "157.55.8?.*" -dStartDirectory -f log to file. Options: -e use event log. sc start tftpd -f (creates a log file). StartDirectory - only files there will be accessible. ValidClients - Clients matching this ip address can read files. ValidMasters - clients matching this can write and read files. ValidReadFiles - only matching files will be served out, eg. "r*.t?t" ValidWriteFiles- only matching files will be accepted, eg. "w*.txt" -i from binary mode, else ascii mode is used. copy //MohsinA_p90/test/tftpd.exe . md d:/tftpd (the StartDirectory). net stop tftpd sc stop tftpd sc create tftpd binPath= d:/tftpd/tftpd.exe (give full path). sc interrogate tftpd (logs will be updated). sc query tftpd (check if installed). sc query tftpd Check whether running. tftp [-i] servername {get|put} src_file dest_file It listens on port 69 for requests TFTPD_DEFAULT_DIR is %s TFTPD_LOGFILE is %s This implements an RFC 783 tftp daemon. and spawns a thread to process each request. o Readable files keyname "%s" o StartDirectory keyname "%s" o ValidClients keyname "%s" o ValidMasters keyname "%s" o writable files keyname "%s" "QU8ezYG( ADVAPI32.dll Abstract: Access violation CloseHandle CreateEventA D:\nt\private\net\sockets\tcpsvcs\tftpd\tftpd.c built Sep 24 1999 22:17:18 DUR exwOLSo DeleteCriticalSection Disk full or allocation exceeded EnterCriticalSection Error undefined ExitProcess ExpandEnvironmentStringsA File already exists File name too long File not found GetIpAddrTable GetLastError GetLocalTime HeapAlloc HeapCreate HeapFree Illegal TFTP operation InitializeCriticalSection Insufficient resources InterlockedIncrement KERNEL32.dll LeaveCriticalSection MSVCRT.dll Malformed file name No such user NotifyAddrChange Option negotiation failure RegCloseKey RegOpenKeyExA RegQueryValueExA RegisterServiceCtrlHandlerA Registry key names, all strings: HKEY_LOCAL_MACHINE %s ResetEvent ResumeThread RtlCreateTimer RtlCreateTimerQueue RtlDeleteTimer RtlDeregisterWaitEx RtlRegisterWait RtlUpdateTimer SSSSSSSh SetEvent SetLastError SetServiceStatus StartServiceCtrlDispatcherA SuspendThread System\CurrentControlSet\Services\tftpd\parameters TFTPD USAGE and Installation: These keys are shell patterns with * and ? (see examples above): Timeout TryEnterCriticalSection Unknown transfer ID Variables that control what files can be read/written and by whom: WS2_32.dll WSACloseEvent WSAEventSelect WSAGetOverlappedResult WSARecvFrom WSASocketA WaitForMultipleObjects WaitForSingleObject YHtWHt!Ht \tftpdroot\ _XcptFilter __getmainargs __p___initenv __p__commode __p__fmode __set_app_type __setusermatherr _adjust_fdiv _chkstk _controlfp _except_handler3 _initterm _stricmp blksize clients directory f9G4uWf iphlpapi.dll isupper masters memmove netascii ntdll.dll or net start tftpd or sc start tftpd or sc start tftpd [-dStartDirectory] [-e] [-f] readable realloc strncpy tftpd.log timeout tolower writable