rename the old one (while running) then just place the new one.
execute the new one and have it delete the old (renamed) one.
saves a createprocess call
Read the helpfile on the file functions.
Also no there is no 'helpfile' or documentation what so ever for the ftp functions (Ill put it on my big TODO list, right after "failing the schoolyear")
It would help if you posted your new code and tell us the values @error has.
This is my attempt
$b_byte = Asc('W')
ConsoleWrite(_Bin($b_byte) & @LF)
Func _Bin($b_byte)
$s_buffer = ''
For $i = 0 to 7
$s_buffer = BitAND($b_byte, 1) & $s_buffer
$b_byte = BitShift($b_byte, 1)
Next
return $s_buffer
EndFunc
just do it for evry character