The European Council President Donald Tusk has warned illegal economic migrants against coming to Europe, during a new push to solve the EU migrant crisis.
He said illegal economic migrants were risking lives and money for nothing.
Mr Tusk is visiting Greece and Turkey to try to secure agreement on reducing the flow of migrants travelling west.
More than 25,000 migrants have been left stranded in Greece by a tightening of border controls to the north, raising fears of a humanitarian crisis.
On Thursday, a group of migrants blocked a railway line on the Greek side of the border with Macedonia to protest at the restrictions.
The restrictions were imposed after several Balkan countries decided only to allow Syrian and Iraqi migrants across their frontiers. Austria also decided to limit numbers.
The move effectively barred passage to thousands of people seeking to reach Western Europe illegally, including Afghans as well as some more likely to be regarded as economic migrants.
Separately, UK Prime Minister David Cameron and French President Francois Hollande are meeting to discuss security and migration issues, including conditions at the French port of Calais, where thousands of migrants hoping to enter the UK have been living rough.
After meeting Greek Prime Minister Alexis Tsipras in Athens on Thursday, Mr Tusk said he was appealing to all potential illegal economic migrants, wherever they may be from.
“Do not come to Europe, do not believe the smugglers. Do not risk your lives and your money. It is all for nothing,” he said.
He also said EU member states must avoid taking unilateral action to deal with the migrant crisis.
Mr Cameron and Mr Hollande will hold talks in the French city of Amiens on Thursday. Along with migration, both counter-terrorism and conflicts in Libya and Syria are expected to be on the agenda.
Hours before the meeting, French Economy Minister Emanualle Macron said his country could allow migrant to travel unchecked to the UK if British voters chose to leave the European Union in a June referendum.
He said an exit vote in the referendum could end a bilateral deal allowing the UK to vet new arrivals on French territory.
“The day this relationship unravels, migrants will no longer be in Calais,”Mr Macron said.
Authorities in Calais have been clearing part of a sprawling camp known as the Jungle, from where many migrants are trying to enter the UK illegally.
Mr Tusk has been touring capitals in central and south-eastern Europe this week, trying to ease tensions caused by the migration crisis.
His visits are seen as laying the groundwork for an EU-Turkey summit on the issue on Monday.
He said earlier this week that Europe was ready to grant substantial financial support to countries neighbouring war-torn regions such as Syria and Iraq. “But at the same time we expect a more intensive engagement from our partners as an absolute precondition to avoid a humanitarian disaster. This will be the subject matter of my talks in Turkey this Thursday and Friday,” he said.
Turkey has expressed frustration at the lack of a common position from the EU on the crisis.
Report says the EU wants to see arrivals in Greece drop below 1,000 a day.
New figures suggest last year’s total of one million seaborne migrants arriving in Europe could be matched well before the end of the year.
The number of migrants stuck in Greece has soared, after Macedonia began restricting passage to all but a small number.
On Wednesday only about 200 Syrian and Iraqi refugees were allowed to cross. More migrants are en route from Athens.