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
Solved

Auto FTP // Automatically DELETE files from an FTP server

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
With the withdrawal of support for Windows Server 2003 this summer, many clients face the issue of moving away from their 2003 installs. There are a few options out there that many people/companies are selling. But the clients I have, haven't wanted…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

856 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