Link to home
Start Free TrialLog in
Avatar of Richard Korts
Richard KortsFlag for United States of America

asked on

ftp issue

I normally use FileZilla for ftp.

I have a customer who has moved their doman from the old host (1 & 1) to a new host & has built a new WebSite.

Now they want me (the developer of the old site) to shut off a cron job that runs every night on the old server.

Of course, I cannot ftp to the domain name, it now points to the new server. I got the IP address of the old site, but when I replace the url with the IP address, FileZilla  will not connect.

So I tried ftping with FireFox; it gets me to the right place but there is no way (I can see) to delete a file on the server. I figured I can delete the php program that the cron job calls, that will eliminate the running of the cron job.

Any ideas on how to get in & delete a file?
ASKER CERTIFIED SOLUTION
Avatar of Computer Guy
Computer Guy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You need to ssh with something like PUTTY and then as the user executing the CRON job at the command line "crontab -e "  then delete the line you are removing and save the file by typing :wq.

However, if the account is shut down and the site moved, then then 1&1 should be able to just eradicate the whole instance.  

One other thought that might work, instead of using the IP in place of the url, add the host to your local hosts file temporarily and then the domain will resolve for you and only you to the 1 & 1 host.
Avatar of Richard Korts

ASKER

To Computer Guy,

I was able to get in through command line ftp in Win 7.

I deleted the 2 php programs that were run from cron.

Are you suggesting that will not work?

Thanks