<form action="ftp001" method="post" enctype="multipart/form-data"> <legend>Please Choose File to Upload</legend> <div class="form-group"> <input type="file" name="srcfile" /> </div> <div class="form-group"> <input type="submit" name="submit" value="Upload File to FTP Server" class="btn btn-warning"/> </div> </form>