Solved

Auto FTP // Automatically DELETE files from an FTP server

Posted on 2008-10-22
2
512 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

Google Storage: Standard vs. Nearline vs. Coldline

Google Cloud Storage has a number of classes to choose from. Although there are a lot in common, they vary in price and usage terms. This post explains Google Cloud Storage classes and helps to understand which  one to choose.

Join & Write a Comment

We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
Introduction People like FTP.  It's a solid, stable, robust protocol for quickly transferring files between two hosts using TCP/IP.  In most cases it's much faster than SMB or CIFS, and certainly much easier to set up between organizations.  This…
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…

757 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now