[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with FTP_delete



Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>


When you see a message like '250 DELE command successful', this message is
coming from the FTP server.  That is, the NT box that the file is hosted
on is telling you that the delete command worked.   Clearly, if the server
says it worked, there's not much that FTPAPI can do except believe it.

The first think I'd check, if I were you, is the slashes in the filename.
In the sample you posted here, there are some slashes going one way, and
one going another way.  That strikes me as strange.

The only other thing that I can think of -- and this is purely a guess --
is that some other process is still accessing the file that you're trying
to delete.   The NT server is therefore saying that the delete was
successful, but will wait until the other process is done with the file
before actually deleting it.

Like I said, this is purely a guess.  I have very little experience with
using Windows machines as servers.   We use Windows as a desktop where I
work, and we use Unix and iSeries for servers.


On Mon, 18 Nov 2002, Jim Watterson wrote:
>
> I'm using the ftp_delete command after successfully GETing a file from an
> NT4 server. The job log shows
>
> DELE \exp\Tf35302/100 Batch 00000919.csv
> 250 DELE command successful.
>
> but on the NT4 machine the file is still there, what's more the file now
> gives an "access denied" message when any further attempt is made to delete
> the file (using as/400 ftp, wsf_ftp and indeed locally). I simply don't
> know how this is arising.
>
> Thanks
> Jim
>

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------