Simple script uploading *.dem files to an ftp

Hello.. i want to create a simple script that's upload all the *.dem files from one directory to ftp and then delete them.

Any help?

Hello,
just curious, why do You want to do it in a script?
I can recommend the wput program, which together with wget, is very useful for filetransfers of many kinds.

/Lakris

i want to load it at cron and run every day..

Ok, so given that You have wput and a script looking something like this,

Then You should be well on Your way right?

/Lakris