FTP and DIR suffixes

Jun 7, 2008
121
0
#1
Hi

1. If I do

DIR *_P4.TXT

I see all those TXT files that end with "_P4"

2. Now if I do

COPY "ftp:*_P4.TXT" C:\Inbound

does the same syntax work for FTP connections?
Has it always worked for previous versions of TCC/4NT ?

Thanks

Stephen Howe
 
#2
JP Software Forums" <[email protected]>; "Stephen Howe wrote:
| Hi
|
| 1. If I do
|
| DIR *_P4.TXT
|
| I see all those TXT files that end with "_P4"

on your local (NTFS or FAT) drive.

|
| 2. Now if I do
|
| COPY "ftp:*_P4.TXT" C:\Inbound
|
| does the same syntax work for FTP connections?
| Has it always worked for previous versions of TCC/4NT ?

Most ftp servers use case-sensitive file systems. The wildcard processing is
also different. within those limitations, your COPY command may work, or may
fail. I often have problems with copying from an ftp server using a
wildcard, and had the same problem in older command processor versions.
--
Steve