/programs/network/ftpd/commands.inc |
---|
531,13 → 531,13 |
stosd |
; now the filesize in ascii |
mov eax, [ebx + FileInfoA.FileSizeLow] |
mov eax, dword[ebx + FileInfoA.FileSize] |
call dword_to_ascii |
mov al, ' ' |
stosb |
; then date (month/day/year) |
movzx eax, [ebx + FileInfoA.DateModify + FileDateTime.month] |
movzx eax, [ebx + FileInfoA.DateModify.month] |
cmp eax, 12 |
ja @f |
mov eax, [months - 4 + 4*eax] |
544,12 → 544,12 |
stosd |
@@: |
movzx eax, [ebx + FileInfoA.DateModify + FileDateTime.day] |
movzx eax, [ebx + FileInfoA.DateModify.day] |
call dword_to_ascii |
mov al, ' ' |
stosb |
movzx eax, [ebx + FileInfoA.DateModify + FileDateTime.year] |
movzx eax, [ebx + FileInfoA.DateModify.year] |
call dword_to_ascii |
mov al, ' ' |
stosb |
/programs/network/ftpd/ftpd.asm |
---|
1,6 → 1,6 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
;; ;; |
;; Copyright (C) KolibriOS team 2010-2012. All rights reserved. ;; |
;; Copyright (C) KolibriOS team 2010-2013. All rights reserved. ;; |
;; Distributed under terms of the GNU General Public License ;; |
;; ;; |
;; ftpd.asm - FTP Daemon for KolibriOS ;; |
63,14 → 63,14 |
dd params ; parameters |
dd path ; path |
include '../macros.inc' |
include '../../macros.inc' |
purge mov,add,sub |
include '../proc32.inc' |
include '../dll.inc' |
include '../struct.inc' |
include '../libio.inc' |
include '../../proc32.inc' |
include '../../dll.inc' |
include '../../struct.inc' |
include '../../libio.inc' |
include '../network.inc' |
include '../../network.inc' |
macro sendFTP str { |
local string, length |