Barnes commentary gives a very good explanation about this "receiving the Holy Ghost", that Paul is speaking in context of the gifts etc not salvation:
Act 19:2
Have ye received the Holy Spirit? - Have ye received the extraordinary effusions and miraculous influences of the Holy Spirit? Paul would not doubt that, if they had "believed," they had received the ordinary converting influences of the Holy Spirit - for it was one of his favorite doctrines that the Holy Spirit renews the heart. But, besides this, the miraculous influences of the Spirit were conferred on many societies of believers. The power of speaking with tongues, or of working miracles, was imparted as an evidence of the presence of God, and of their acceptance with him, Act_10:45-46; 1 Cor. 14. It was natural for Paul to ask whether this evidence of the divine favor has been granted to them.
Gill says similar:
Act 19:2 He said unto them, have ye received the Holy Ghost,.... Meaning, not the special regenerating and sanctifying grace of the Holy Ghost, for that is supposed in their being disciples and believers, but the extraordinary gifts of the Holy Ghost, for it follows,
Matthew Henry says similar:
Paul, at Ephesus, found some religious persons, who looked to Jesus as the Messiah. They had not been led to expect the miraculous powers of the Holy Ghost, nor were they informed that the gospel was especially the ministration of the Spirit.
PNT commentary says:
Act 19:2
Have ye received the Holy Ghost since ye believed? This question is asked in order to lead their way to a knowledge of their imperfect obedience. For their reply, see the Revision. They had heard of the Holy Spirit; John always spoke of Christ as one who should bestow it, but they had heard nothing of the scenes of Pentecost and the descent of the Spirit. It must not be forgotten that they lived nearly a thousand miles from Jerusalem, in an age when each part of the world knew little of what transpired elsewhere.
Wesley's commentary says:
Act 19:2 Have ye received the Holy Ghost? - The extraordinary gifts of the Spirit, as well as his sanctifying graces? We have not so much as heard - Whether there be any such gifts.
These are not pentecostal commentaries I'm quoting from either, these are some old (16th to 18th centuary) presbyterian or baptist (if i remember right) theologians and bible scholars or preachers. They all seem unanimous that this is referring to receiving the Spirit for His gifts and power, not for salvation (i.e. regeneration).
A subsequent experience of receiving the Spirit (meaning the gifts and power) for believers is very scriptural.