25-08-2017, 09:32 PM
FTP USING RS232
AIM:
To write a program to transfer the file information through the RS232 cable
using int86 dos function.
ALGORITHM:
STEP 1: Start the program.
STEP 2: Get the input file form the user.
STEP 3: Using Int86 function read the data from the file.
STEP 4: Int86 function is used to copy register values from inregs into the
registers before execution of the software interrupt.
STEP 5: In both functions inregs and outregs can point to the same structure and both functions return the value of AX after completion of the software interrupt. If the carry flag is set, it usually indicates that an error has occurred.
STEP 6: Finally, the received data is printed.
STEP 7: Stop the program.
RESULT:
Thus the program to implement FTP using RS232 was written, executed and verified successfully.