On the 21st July Sir Archibald Alison moved two regiments of infantry and a squadron of mounted men out to Ramleh in the direction of Arabi's intrenchments. They went as far as Water-Works Hill, a commanding position from which a good view of the Egyptian lines at Kafr Dowar could be obtained.

On the morning of the 22nd a force of 250 men of the Rifles was pushed forward beyond Millaha Junction, on the Cairo Railway, to blow up the line. They met Arabi's cavalry and exchanged shots with them. The Egyptians fled, leaving two dead on the field. Having finished the work intrusted to them, the Rifles then withdrew. A strong patrol was the same day sent to Ramleh.

On the 24th, the troopship Malabar having arrived the previous day from Gibraltar and Malta with the 46th (Duke of Cornwall's Light Infantry) Regiment, a wing of the 35th, and a Battery of Artillery, in all 1,108 men, Sir Archibald Alison, at 3 a.m., sent mounted infantry to the position intended to be occupied in front of the Ramleh Barracks. The General followed by the train of the Alexandria and Ramleh Railway with the 60th Rifles, two 7-pounder naval guns, and some sappers. On arriving he found the ridge running from the Palace to the Mahmoudieh Canal occupied by the mounted infantry, and at once took possession of the water-works tower on the ridge, a strongly defensible building, and established outposts at the railway bridge, and at the front of the canal bend. Shortly after the British troops were in position a small force of Arabi's cavalry, followed by infantry, advanced towards the railway bridge, across the canal, within 400 yards of the Rifles. After exchanging shots for some time, the cavalry retired rapidly on the Mahmoudieh Canal. The enemy's advance then became more decided. A considerable force of cavalry with two horse-artillery guns pushed on rapidly, the guns coming briskly into action. The infantry followed, and the movements of a considerable body of troops were observed on the high ground behind. A fight ensued which lasted about an hour, several of the enemy being observed to drop. The attack, however, was not pushed home, and the firing gradually ceased. There were no casualties on the English side.

Ramleh was from this day occupied and held by the British forces. The work of fortifying it was begun at once, and prosecuted with vigour, for the force opposed to the English far outnumbered the latter at all times, and the need of the moment was to hold on until the army corps under General Wolseley could be collected and transported to Alexandria.

It may be here mentioned that Ramleh is not a village or town, but a species of summer resort for the European residents of Alexandria, who have built houses and villas upon the sandy neck of land lying between Lakes Mareotis and Aboukir on the one hand, and the Mediterranean on the other. The houses are distributed over a length of some miles, and are mostly surrounded by high walled inclosures, with, in many cases, luxuriant gardens. Between these scattered country villas the sand lay everywhere ankle-deep. There was an occasional pretence of a road, but, generally speaking, communication between any two points was in the straightest possible line, and over the sand. To supply the needed transit to and from the city, a private company has constructed the Alexandria and Ramleh Railway, which has no connection, material or otherwise, with the Government lines. An incidental advantage due to the military occupation of Ramleh was the protection enjoyed by the Ramleh Railway, and by the owners of property in this quarter.

The water-works at Ramleh contain the pumping engines which deliver the fresh water for distribution from the Mahmoudieh Canal to the tower and reservoir just behind them on higher ground. These two points, the water-works and the tower, were the centre of the defence. A strong detachment was always maintained at the former, whilst the head-quarters were established at the latter. An elevation immediately in rear of the tower was strengthened, a trench dug, and a number of guns, viz., five breech-loading 40 pounders and two 12-pounders, were mounted on the 26th by seamen from the fleet. A magazine was also sunk, and working parties ran a shelter trench along the crest of the rising ground, and this was gradually converted into a musketry parapet four and a half feet high. In this work places were arranged for the guns, the platforms being of railway sleepers and the parapets reveted with sand-bags and timber. Small musketry redoubts were thrown up upon the flanks of the position. To the east and west were intrenched infantry camps. Two 9-pounders of the Naval Detachment were mounted in the adjoining earthwork. The extreme eastern picket was placed in a fortified house, a mile and a half distant. Its object was to serve as a feeler in the direction of Aboukir. The Egyptians could advance from Kinje Osman either by the road on the canal bank or by the railway embankment. The outpost on the former line was called "Dead Horse Picket;" on the latter no regular picket was maintained beyond the iron railway bridge over the Mahmoudieh Canal, although vedettes were thrown out in the direction of Millaha Junction.

As a barrier against a movement along the southern branch of the railway (that coming from the Gabari Station), a strong force was established at the Villa Antoniadis on the canal. Inside the entrance to the villa garden was a semi-circular breastwork facing the villa, and reaching across the gateway. Two B.L.R. 40-pounder guns were permanently mounted. These commanded the approach along the railway embankment. Other stockades were built across the road to protect the rear, and temporary bridges were built across the canal. The walls of a deserted Arab village on the other side were loopholed and otherwise defended.

The general defence profited by the presence of the Mahmoudieh Canal, with its high banks, and by the railway embankment, which stretched from the Antoniadis garden towards Ramleh. For night-work an electric light was placed on the roof of a house at Fleming Station, on the Ramleh Railway, so as to illuminate the approaches from Aboukir and Kafr Dowar.

An ingenious device for reconnoitring was at this time adopted, in fitting out an armour-clad train in which to make reconnaissances towards Arabi's lines. One of the Government locomotives was armed under the direction of Captain Fisher, of the Inflexible, with a 40-pounder gun, and fitted with boiler plates, iron rails, and bags of cotton to protect the vital parts. This, accompanied by two or three open carriages filled with bluejackets, rendered considerable service. It was frequently brought into action, and whilst able to considerably harass the enemy's forces at Kafr Dowar, never sustained any injury in return.

At this time, Mr. Dudley de Chair, midshipman of the Alexandra, was captured and taken to Arabi's lines. He had been ordered to proceed with despatches from Alexandria to the British post at Ramleh, following the line of rail. Unfortunately, he went by the wrong line and found himself at Mandara, some miles beyond his destination, where, meeting some natives, he inquired his way, and they undertook to direct him to the British lines, but taking advantage of his ignorance of the locality, they led him to an Arab outpost, where he was made prisoner.[39]