We have studied numerically the dynamics of sliding charge-density wav
es (CDW's) in the presence of impurities in d=1,2. The model considere
d exhibits a first-order dynamical transition at a critical driving fo
rce F-c between ''rough'' (disorder dominated) (F<F-c) and ''flat'' (F
>F-c) sliding phases where disorder is washed out by the external driv
e. The effective model for the sliding CDW's in the presence of impuri
ties can be mapped onto that of a magnetic flux line pinned by columna
r defects and tilted by an applied field. The dynamical transition of
sliding CDW's corresponds to the transverse Meissner effect of the til
ted flux line.