Did you check if you have a web access for your files and folders? I guess it would be easier to automate that ways. I'm not sure if FileZilla could be automated using QTP, by the way you described .
Want to fast track your QTP/UFT Learning? Join our UFT Training Course