This will be on an automated FTP scheduler... Here is the 1 step I am trying to accomplish:

1. Upon connection to server, the script should: delete all files within the folder '/backup'.

That's it... any ideas?

Hi tmparisi!

Perhaps you could show us what you've tried so far? Generally FTP requires some interaction, so you might be better off using something like Perl, depending on what you're trying to do, but there's still a lot that can be done in bash!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.