Deleting a Folder

Discussion in 'ASP General' started by Keith, Aug 17, 2004.

  1. Keith

    Keith Guest

    I have a script which allows a user to upload and delete files from the
    server.

    Is it possible (and if so how) to do a check to see if the folder is empty
    (ie if the last file in a particular folder is deleted by a user) and if it
    is empty, delete the folder?

    Thanks
     
    Keith, Aug 17, 2004
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Luis Esteban Valencia Muñoz
    Replies:
    3
    Views:
    1,582
    Scott Allen
    Jun 4, 2005
  2. Rosa
    Replies:
    1
    Views:
    827
    Rhino
    Mar 23, 2005
  3. Rosa
    Replies:
    2
    Views:
    712
  4. =?Utf-8?B?Q2FzZXk=?=

    Publishing -- Not deleting a folder

    =?Utf-8?B?Q2FzZXk=?=, Nov 20, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    333
    =?Utf-8?B?TGVvbiBNYXluZQ==?=
    Nov 20, 2006
  5. =?Utf-8?B?UGFvbG8gTmljY29sw7IgR2l1YmVsbGkgW0F4ZXR0

    Publish a website without deleting a folder

    =?Utf-8?B?UGFvbG8gTmljY29sw7IgR2l1YmVsbGkgW0F4ZXR0, Feb 21, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    1,025
    =?Utf-8?B?UGFvbG8gTmljY29sw7IgR2l1YmVsbGkgW0F4ZXR0
    Feb 21, 2007
  6. Harry Barker
    Replies:
    2
    Views:
    655
    Alf P. Steinbach
    Apr 19, 2006
  7. Rosa
    Replies:
    5
    Views:
    360
  8. crea
    Replies:
    2
    Views:
    602
    Nobody
    Dec 28, 2012
Loading...