Solved

Auto FTP // Automatically DELETE files from an FTP server

Posted on 2008-10-22
2
518 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

623 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