Re: How do I remove files after Warez on FTP?

From: Alun Jones (alun@texis.com)
Date: 12/06/02


From: alun@texis.com (Alun Jones)
Date: Fri, 06 Dec 2002 21:49:06 GMT


In article <02cc01c29d65$140ba380$d3f82ecf@TK2MSFTNGXA10>, "Dan Elam"
<dan.elam@evisoryconsulting.com> wrote:
>Hi. We left an anonymous FTP connection on by accident
>and got hit with a FTP tag. This is one is a little
>different in that it was able to use spaces for all of
>the directory name. That means that I can't use the
>traditional "dir /x" to see what is in it. Any ideas on
>a shareware recursing directory tool? I don't have
>deltree.

Are they really spaces, or do they simply _look_ like spaces?

The character 255 can look like a space, and you can use it to name a file -
but only if you use quotes. So, for instance, in a command window, you can
do:

copy con "^^.txt"
(where, each time you see a '^', you hold down the alt key, type 255 on the
numeric keypad, then lift up the alt key)

and a directory listing will show:

12/06/2002 03:08 PM <DIR> .
12/06/2002 03:08 PM <DIR> ..
12/06/2002 03:08 PM 5   .txt

Try copy con ^^.txt, and you'll get a listing that has a file ".txt" (no
preliminary space-like characters).

Try entering rd (short for rmdir), then a space, the options /s/q , then
another space, an open quote (double quotes, not single!), and hit the TAB key
for file-name completion. It'll cycle through all the names and eventually
(or quickly) hit the one you want to remove. It'll even close the quotes for
you. That should help you remove the file.

I'm getting tempted to write a program that'll allow you to browse a directory
structure, and delete files no matter what their name, but I've got other
things to do with my time - like selling a little software to make a crust
:-).

Alun.
~~~~

[Please don't email posters, if a Usenet response is appropriate.]

-- 
Texas Imperial Software   | Try WFTPD, the Windows FTP Server. Find us at
1602 Harvest Moon Place   | http://www.wftpd.com or email alun@texis.com
Cedar Park TX 78613-1419  | VISA/MC accepted.  NT-based sites, be sure to
Fax/Voice +1(512)258-9858 | read details of WFTPD Pro for XP/2000/NT.


Relevant Pages

  • Re: How do I remove files after Warez on FTP?
    ... Try rmdir /s on command prompt. ... We left an anonymous FTP connection on by accident ... >>and got hit with a FTP tag. ... > but only if you use quotes. ...
    (microsoft.public.inetserver.iis.security)
  • Re: updating web page with publisher 2007
    ... MS Publisher 2007 and Vista with IE7 loading my website to APlus.net. ... instructions for FTP uploading in Vista. ... unix using ftp site when i hit publish to web box appears i ...
    (microsoft.public.publisher)
  • Re: Transferring Windows XP and software to new PC
    ... "dir/w" (without quotes) hit ENTER ... registry file from HERE, save it to someplace you will remember, ... ;Add driver for intelide ...
    (alt.comp.hardware.pc-homebuilt)
  • Re: updating web page with publisher 2007
    ... Reference: Prepare, publish, and maintain your Publisher Web site: ... instructions for FTP uploading in Vista. ... unix using ftp site when i hit publish to web box appears i select ...
    (microsoft.public.publisher)
  • Re: Explorer DOG Slow
    ... To reverse the process, which you may need to do from time to time, Start, Run, type "regsvr32 zipfldr.dll" without the quotes and hit ENTER. ... Always tries to expand ZIP files. ...
    (microsoft.public.windowsxp.help_and_support)