Run php script in FTP without knowing public http address

Monday, July 7, 2014

I need to zip and extract the database from a host. I created 2 php scripts for this but the problem is that i cannot execute them from browser because i don;t know the public path. That's because this is an old hosting i had but surprisingly i still can connect to FTP with the details i had. Since the domain is no longer associated with this hosting i can't find the public path.

My question is, having the ftp access, is there any way i could execute those 2 scripts to zip the entire folder and download the database (i also have the mysql details). I tried logging through SFTP with WinSCP and running the Execute custom command however no success.

Thank you so much, i really don't have any ideas what to do.