I'm trying to set up a process for my company to download files that have been FTP'd from a mainframe every night. I can get specific files with no problem. I can even get the wildcard to work if I use *.*. I noticed in the helpfile that you use *.jpg as an example. This will not work for me. No permutation of test*.* or t*.jpg or anything beyond *.* will hit a file for download. The secure server is Unix based and perhaps that has something to do with the wildcard probs.
works:
coreftp.exe ftp://mysite/test.txt -s -o -p c:\windows\desktop -site CIO
coreftp.exe ftp://mysite/*.* -s -o -p c:\windows\desktop -site CIO
doesn't work:
coreftp.exe ftp://mysite/*.txt -s -o -p c:\windows\desktop -site CIO
coreftp.exe ftp://mysite/test.* -s -o -p c:\windows\desktop -site CIO
coreftp.exe ftp://mysite/te*.* -s -o -p c:\windows\desktop -site CIO
Is there any way to log the results of an automated download?
Command line and wildcards
-
- Posts: 6
- Joined: Mon Feb 02, 2004 3:22 pm
-
- Posts: 6
- Joined: Mon Feb 02, 2004 3:22 pm
-
- Posts: 6
- Joined: Mon Feb 02, 2004 3:22 pm
Win98SE
Version 1.3 build 1260
The jeff.txt is the file I've been downloading.
drwxrwxr-x 12 512 508 4096 Oct 29 2003 ./
drwxrwxr-x 12 512 508 4096 Oct 29 2003 ../
drwx------ 6 512 508 4096 Aug 14 2002 .kde/
-rw-r--r-- 1 512 508 24 Aug 14 2002 .bash_logout
-rw-r--r-- 1 512 508 191 Aug 14 2002 .bash_profile
-rw-r--r-- 1 512 508 140 Sep 13 2002 .bashrc
-rw-r--r-- 1 512 508 820 Aug 14 2002 .emacs
-rw-r--r-- 1 512 508 3511 Aug 14 2002 .screenrc
drwxr-xr-x 2 512 505 4096 Aug 26 2002 agency/
drwxr-xr-x 2 512 505 4096 Sep 12 2002 bin/
-rw-r--r-- 1 512 508 704 Aug 19 2002 CCDISK.TXT
-rw-r--r-- 1 512 508 84672 Aug 19 2002 GLDISK.TXT
drwxr-xr-x 5 512 505 4096 Oct 22 2002 H12/
drwxrwsr-x 4 512 509 4096 Jan 15 15:12 MPLUSFBMC/
drwxr-xr-x 5 512 505 4096 Oct 17 2002 H27/
-rw-r--r-- 1 512 505 5563350 Aug 23 2002 ZIPDISK.TXT
-rw-r--r-- 1 512 505 3245 Sep 13 2002 MONPLUS.TXT
drwxrwxr-x 3 522 522 4096 Nov 17 2003 SCSCU/
drwxrwxr-x 5 512 505 4096 Oct 17 2002 H21/
drwxrwsr-- 5 512 517 4096 Dec 8 2003 H73/
drwxrwsr-x 4 512 513 4096 Jan 28 20:23 CITISTREET/
-rw-r--r-- 1 512 508 13756 Sep 29 2003 JEFF.TXT
Version 1.3 build 1260
The jeff.txt is the file I've been downloading.
drwxrwxr-x 12 512 508 4096 Oct 29 2003 ./
drwxrwxr-x 12 512 508 4096 Oct 29 2003 ../
drwx------ 6 512 508 4096 Aug 14 2002 .kde/
-rw-r--r-- 1 512 508 24 Aug 14 2002 .bash_logout
-rw-r--r-- 1 512 508 191 Aug 14 2002 .bash_profile
-rw-r--r-- 1 512 508 140 Sep 13 2002 .bashrc
-rw-r--r-- 1 512 508 820 Aug 14 2002 .emacs
-rw-r--r-- 1 512 508 3511 Aug 14 2002 .screenrc
drwxr-xr-x 2 512 505 4096 Aug 26 2002 agency/
drwxr-xr-x 2 512 505 4096 Sep 12 2002 bin/
-rw-r--r-- 1 512 508 704 Aug 19 2002 CCDISK.TXT
-rw-r--r-- 1 512 508 84672 Aug 19 2002 GLDISK.TXT
drwxr-xr-x 5 512 505 4096 Oct 22 2002 H12/
drwxrwsr-x 4 512 509 4096 Jan 15 15:12 MPLUSFBMC/
drwxr-xr-x 5 512 505 4096 Oct 17 2002 H27/
-rw-r--r-- 1 512 505 5563350 Aug 23 2002 ZIPDISK.TXT
-rw-r--r-- 1 512 505 3245 Sep 13 2002 MONPLUS.TXT
drwxrwxr-x 3 522 522 4096 Nov 17 2003 SCSCU/
drwxrwxr-x 5 512 505 4096 Oct 17 2002 H21/
drwxrwsr-- 5 512 517 4096 Dec 8 2003 H73/
drwxrwsr-x 4 512 513 4096 Jan 28 20:23 CITISTREET/
-rw-r--r-- 1 512 508 13756 Sep 29 2003 JEFF.TXT
-
- Posts: 6
- Joined: Mon Feb 02, 2004 3:22 pm