Files starting with a period will by default not be visible in FTP on a unix server, and folders that contain one or more files cannot be deleted which suggests that your media folder contains a file that starts with a period, however if you do not know the name then you will be unable to delete it as you can't see it. If you still have the files stored locally check them to see if you do have any files that start with a period then use the dele command the remove it by name as in the example below (I'm using ".htaccess" as that's a file I had to hand, it could be something like ".mydocument.doc" etc):
Quote:
ftp upload.ntlworld.com
Connected to upload.ntlworld.com.
220-
220-################################################## ################
220-
220- Welcome to upload.ntlworld.com
220-
220-################################################## ################
220-
220 upload.ntlworld.com FTP server ready
User (upload.ntlworld.com:(none)): ****
331 Password required for ****.
Password:
230 User **** logged in.
ftp> mkdir temp
257 "/temp" - Directory successfully created
ftp> cd temp
250 CWD command successful.
ftp> put .htaccess
200 PORT command successful.
150 Opening ASCII mode data connection for .htaccess.
226 Transfer complete.
137 bytes sent in 0.01 seconds (13.70 Kbytes/sec)
ftp> ls
200 PORT command successful.
550 No files found.
ftp> cd ..
250 CWD command successful.
ftp> rmdir temp
550 temp: File exists
ftp> cd temp
250 CWD command successful.
ftp> ls
200 PORT command successful.
550 No files found.
ftp> dele .htaccess
250 DELE command successful.
ftp> cd ..
250 CWD command successful.
ftp> rmdir temp
250 XRMD command successful.
|