Solved

Auto FTP // Automatically DELETE files from an FTP server

Posted on 2008-10-22
2
516 Views
Last Modified: 2013-12-09
Hi,
I'm looking for a software - running on a Win XP Prof. client - that (periodically) connects to a FTP server (Zyxel NSA-220), navigates to a certain directory and deletes or moves all files to another place on the same server, focus on DELETE.
0
Comment
Question by:go4java
2 Comments
 
LVL 23

Assisted Solution

by:Kamaraj Subramanian
Kamaraj Subramanian earned 150 total points
ID: 22774716
No need of software..

just check this link

http://support.microsoft.com/kb/96269

instead of put use rm- rf

for moving user mv

0
 
LVL 3

Accepted Solution

by:
scriptrunner earned 350 total points
ID: 22774757
Hi! I do not know if such a software (FTP client) is exist but you can do this by writing two simple files (one standart TXT file, one BAT file) and adding BAT file as a scheduled task.

First open notepad and type commands below (change IP adress with your server's IP, myUserId is your FTP account's user Id, myUserPassword is your account password.. cd and del are standart FTP commands. You can add as much command as you want):

open 192.168.1.1
myUserId
myUserPassword
cd mydirectory\mysubdirectory
del *.*
quit

save this file as COMMANDS.TXT

now create another file with your notepad and type this:

ftp -s:commands.txt

and save this file as MYFTP.BAT

Whenever you run myftp.bat, it connects to server using your userid/password, runs the commands and disconnect. If you add this bat file into your scheduled tasks then you get what you want.

Hope that works for you..
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime is disastrous for companies and can lead to major hits on a brand, reputation, an…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question