create_remote_data_package
open /admin/
clickAndWait link=Ftp storages
click link=Add ftp storage
type id=id_name HMA
type id=id_host hma.eox.at
type id=id_port 21
type id=id_user anonymous
type id=id_paths-0-path /test/MER_FRS_1P_reduced/ENVISAT-MER_FRS_1PNPDE20060816_090929_000001972050_00222_23322_0058/ENVISAT-MER_FRS_1PNPDE20060816_090929_000001972050_00222_23322_0058_uint16_reduced_compressed.tif
click link=Add another Remote Path
type id=id_paths-1-path /test/MER_FRS_1P_reduced/ENVISAT-MER_FRS_1PNPDE20060816_090929_000001972050_00222_23322_0058/ENVISAT-MER_FRS_1PNPDE20060816_090929_000001972050_00222_23322_0058_uint16_reduced_compressed.xml
clickAndWait name=_save
clickAndWait link=Home
clickAndWait link=Remote data packages
clickAndWait link=Add remote data package
select id=id_data_location label=ftp://hma.eox.at//test/MER_FRS_1P_reduced/ENVISAT-MER_FRS_1PNPDE20060816_090929_000001972050_00222_23322_0058/ENVISAT-MER_FRS_1PNPDE20060816_090929_000001972050_00222_23322_0058_uint16_reduced_compressed.tif
select id=id_metadata_location label=ftp://hma.eox.at//test/MER_FRS_1P_reduced/ENVISAT-MER_FRS_1PNPDE20060816_090929_000001972050_00222_23322_0058/ENVISAT-MER_FRS_1PNPDE20060816_090929_000001972050_00222_23322_0058_uint16_reduced_compressed.xml
click css=#add_id_cache_file > img[alt="Add Another"]
waitForPopUp id_cache_file 30000
selectWindow name=id_cache_file
click css=img[alt="Add Another"]
waitForPopUp id_location 30000
selectWindow name=id_location
type id=id_path ../autotest/ftpcache
click name=_save
selectWindow name=id_cache_file
type id=id_size 0
click link=Today
selectWindow name=id_cache_file
type id=id_access_timestamp_0 2011-11-03
type id=id_access_timestamp_1 11:16:08
click name=_save
selectWindow null
clickAndWait name=_save
verifyElementPresent css=li.info
verifyElementNotPresent css=p.errornote