FTP gremlins

Jun 7, 2008
121
0
Hi

Using TCC 11.00.34

1) If I do

cd "ftp:/ClientFiles"

then

dir ftp:

I see

:
17/12/2009 09:35 2,221,022 B20091216.PVF.Z
17/12/2009 09:30 11,608,444 B20091216.V05.Z
27/11/2009 10:34 297,315,554 barry.zip
14/12/2009 17:06 31,332 S20091214.APC.Z

If I then do

del "ftp:barry.zip" /Z
Deleting ftp://194.202.213.25/ClientFiles/barry.zip
TCC: 550 Delete operation failed. "/ClientFiles/barry.zip"
1 file deleted

How can there be "1 filed deleted" if the operation has failed?

If I retry the operation, but this time having done IFTP /V for the FTP connection, I see

>>>>>>>>>>>>>>>>>>>>>
del "ftp:barry.zip" /Z
PWD
257 "/ClientFiles"
PWD
257 "/ClientFiles"
CWD /ClientFiles/barry.zip
550 Failed to change directory.
PASV
227 Entering Passive Mode (194,202,213,25,63,144)
LIST /ClientFiles/barry.zip
150 Here comes the directory listing.
226 Directory send OK.
Deleting ftp://194.202.213.25/ClientFiles/barry.zip
DELE /ClientFiles/barry.zip
550 Delete operation failed.
TCC: 550 Delete operation failed. "/ClientFiles/barry.zip"
PASV
227 Entering Passive Mode (194,202,213,25,216,140)
LIST /ClientFiles/DESCRIPT.ION
150 Here comes the directory listing.
226 Directory send OK.
1 file deleted
>>>>>>>>>>>>>>>>>>>>>

Is that FTP command of "CWD /ClientFiles/barry.zip" okay?
Surely it should be "CWD /ClientFiles/" ???
Something odd seems to be occuring?

Cheers

Stephen Howe
 

rconn

Administrator
Staff member
May 14, 2008
12,404
152
> Using TCC 11.00.34
>
> If I then do
>
> del "ftp:barry.zip" /Z
> Deleting ftp://194.202.213.25/ClientFiles/barry.zip
> TCC: 550 Delete operation failed. "/ClientFiles/barry.zip"
> 1 file deleted
>
> How can there be "1 filed deleted" if the operation has failed?

Because it's a permission error on the server and TCC doesn't have any way
of knowing exactly what (if anything) happened.


> Is that FTP command of "CWD /ClientFiles/barry.zip" okay?
> Surely it should be "CWD /ClientFiles/" ???
> Something odd seems to be occuring?

WAD (and exactly what it has always done). TCC doesn't have any way of
knowing if the target is a file or directory, so it tries a CWD. If that
works, it's a directory with an implied wildcard; otherwise it's assumed to
be a file.

Rex Conn
JP Software
 
Similar threads
Thread starter Title Forum Replies Date
M Strange error messages from TCC in FTP copy Support 7
vefatica FTP SSL, how do I see it work? Support 3
P Problem with FTP copies Support 10
M ftp unreliable Support 2
Jay Sage Directory Alias Access to FTP Servers Support 2
Brian Woodward How to? Does FTP.CFG only support SSL over port 21? (Newbie) Support 6
cgunhouse FTP Error Support 5
S iftp copying pgp files from ftp is not working Support 11
vefatica Fixed COPY /S ftp://... Support 1
C WAD copy /u ftp local with Timeout? Support 5
vefatica FTP copy interrupted Support 2
C How to? COPY ftp folder query Support 7
jadaml Documentation Is COPY realy doesn't work for any HTTP and FTP? Support 3
vefatica IFTP and active FTP Support 13
S Return of FTP copy bug in 16.02.48 Support 12
S WAD FTP copy fails in 16.00.25 Support 24
fpefpe How to? ftp server Support 9
mikea How to? TCC and ftp:// commands Support 7
dcantor WAD dir "ftp:// ..." fails in TCC 15 Support 7
C v15 not on ftp site? Support 8
S Attacks, FTP vs. FTPS, downloading Support 19
S WAD COPY from FTP site fails in 14.03.51 Support 9
vefatica WAD DIR ftp ... broken Support 2
E No file names in dir "ftp..." Support 1
S dir for ftp connection - missing files sometimes Support 1
C ftp://lucky.syr.edu/ Support 11
A How to? Instruct COPY to delete file if only partially copied (via FTP) Support 8
C Vince - your FTP'ed jpsupport.zip's Support 1
S TMCD 13.04.61 not on FTP site Support 5
vefatica Win7, FTP, TCC Support 1
R ftp server password required to download pdf help Support 3
D cannot get into ftp://jpsoft.com/oldver Support 1
D ftp crashes tcmd v12.11 and 13.01 Support 10
S FTP site; FTP copy Support 4
Peter Bratton Update the ftp site Support 1
S DEL on FTP site : complaint about missing DESCRIPT.ION Support 1
S MOVE from FTP directory to another FTP directory - bug?? Support 2
C Active FTP Problems Support 4
noahcoad copy /w to FTP does not set time stamp Support 1
P Support for national letters in filenames in ftp operations Support 1
S FTP site; IFTP access Support 10
C AVG says FTP.CFG is locked ? Support 1
T FTP.CFG file aliases Support 5
R TC9 FTP strangeness - solved - for KB only Support 1
J switching to passive ftp Support 4
S FTP issues with 11.0 Support 9
K copy ftp: with /w problem Support 4
H Another multiple FTP password prompt issue Support 2
J Problems with FTP after IFTP timeout Support 2
H Double prompt for password with * in FTP syntax Support 3

Similar threads