Santronics Software, Inc.,
Wildcat! FTP Server: Extended Quote Commands

Extended Wildcat! FTP Quote Commands

Quote CommandDescription
FDTM yyyymmddhhmmssSet File date/time prior to upload.
FPWD passwordSet File Password prior to download/upload.
FDSC stringSet File Description prior to upload.
LDSC stringSet File Long Description prior to upload.
LCLRClear File Long Description prior to upload.
DFMT msdos|unixSet MSDOS or UNIX style listing.
INFO filenameShow Detail File Information.
XOPT on|offSet/Unset FTP server options.
LZDC on|offLimit file listing/downloads with zero downloads.
PFID userid|usernameSet the User ID value for private file uploads.


quote FDTM yyyymmddhhmmss

By default, Wildcat! will use the server's current system time for a new uploaded file's date and time. You can use this QUOTE FDTM command to set the recorded file's date and time prior to upload.

  FTP> quote fdtm
  211 File timestamp cleared.

  FTP> quote fdtm 20130407000000
  211 File timestamp set: 4/7/2013 12:00:00 AM

  FTP> put c:\wc5\wcSmtpTrace20130905.NTBBS.log
  200 PORT command successful.
  150 Opening ASCII mode data connection for wcSmtpTrace20130905.NTBBS.log.
  226 Transfer complete (5986.7 K/s).
  ftp: 11674108 bytes sent in 1.95Seconds 5977.53Kbytes/sec.

  FTP> quote info wcSmtpTrace20130905.NTBBS.log
  211-***** Start of file information *****
  211-File : wcSmtpTrace20130905.NTBBS.log
  211-Date : 04-07-13  04:00AM GMT  Uploaded: 09-05-13  07:42PM GMT
  211-Size : 11674108  Downloads: 0
  211-Owner: HECTOR SANTOS
  211-Desc : File uploaded via FTP.
  211 ***** End of file information *****

quote FPWD password

If a file requires a password to download or you wish to set a password for a new upload, use the QUOTE FPWD command to set/clear a password. See example:

  FTP> quote fpwd somepwd
  211 File password set

  FTP> put c:\wc5\wcSmtpTrace20130905.NTBBS.log
  200 PORT command successful.
  150 Opening ASCII mode data connection for wcSmtpTrace20130905.NTBBS.log.
  226 Transfer complete (6011.4 K/s).
  ftp: 11908778 bytes sent in 1.98Seconds 6002.41Kbytes/sec.

  FTP> quote info wcSmtpTrace20130905.NTBBS.log
  211-***** Start of file information *****
  211-File : wcSmtpTrace20130905.NTBBS.log
  211-Date : 09-05-13  07:48PM GMT  Uploaded: 09-05-13  07:48PM GMT
  211-Size : 11908778  Downloads: 0
  211-Owner: HECTOR SANTOS
  211-Notes: Pwd protected
  211-Desc : File uploaded via FTP.
  211 ***** End of file information *****

  FTP> quote fpwd
  211 File password cleared.

  FTP> get wcSmtpTrace20130905.NTBBS.log
  200 PORT command successful.
  550 File password required. Use 'QUOTE FPWD password' command
  FTP>

quote FDSC string Set File Description prior to upload.
quote LDSC string Set File Long Description prior to upload.
quote LCLR Clear File Long Description prior to upload.

Wildcat! allows for a short and long description to be set for the file to be uploaded. If not provided, Wildcat! has an internal logic to check for a FILE_ID.DIZ description file for zip files uploaded. If a MP3 file is uploaded, any MP3 tags found in the file are used for setting the file short and long description When no descriptions are found or set, Wildcat! FTP will use the short description: "File uploaded via FTP."

  FTP> .. user is logged in ...
  FTP> QUOTE LCLR
  FTP> QUOTE FDSC Example short file description
  FTP> QUOTE LDSC Example long description line #1
  FTP> QUOTE LDSC Example long description line #2
  FTP> QUOTE LDSC Example long description line #3
  FTP> PUT file1.zip
  FTP> QUOTE INFO file1.zip

quote DFMT msdos|unix

You can use a MSDOS or UNIX style for file area listings.

  FTP> quote dfmt unix
  211 Listing format is now UNIX style
  FTP> dir
  200 PORT command successful.
  150 Opening ASCII mode data connection for directory listing.
  -r--r--r--  1 owner group       1024 Sep  5 15:32 00_index.txt
  -r--r--r--  1 owner group       1024 Sep  5 15:32 00_index.htm
  -rw-rw-rw-  1 owner group    1429429 Apr 15  2004 wcsdk60.exe
  -rw-rw-rw-  1 owner group    2450678 Oct 30  2006 wcsdk61.exe
  -rw-rw-rw-  1 owner group    4078238 May 14  2012 wcsdk64.exe
  -rw-rw-rw-  1 owner group      60769 Oct  1  1996 wctrivia.zip
  -rw-rw-rw-  1 owner group     356541 Sep 12  1996 winsock.doc
  226 Transfer complete.
  ftp: 2281 bytes received in 0.00Seconds 2281000.00Kbytes/sec.

  FTP> quote dfmt msdos
  211 Listing format is now MSDOS style
  FTP> dir
  200 PORT command successful.
  150 Opening ASCII mode data connection for directory listing.
  09-05-13  03:32PM                 1024 00_index.txt
  09-05-13  03:32PM                 1024 00_index.htm
  04-15-04  03:45AM              1429429 wcsdk60.exe
  10-30-06  05:43AM              2450678 wcsdk61.exe
  05-14-12  12:27PM              4078238 wcsdk64.exe
  10-01-96  03:39PM                60769 wctrivia.zip
  09-12-96  08:12PM               356541 winsock.doc
  226 Transfer complete.
  ftp: 1885 bytes received in 0.00Seconds 1885000.00Kbytes/sec.
  FTP>

quote INFO filename

This command will show detail file information stored about filename.

  FTP> quote info wcphp-lite-5.3.0.exe
  211-***** Start of file information *****
  211-File : wcphp-lite-5.3.0.exe
  211-Date : 05-03-12  02:16PM GMT  Uploaded: 05-03-12  02:16PM GMT
  211-Size : 4845920  Downloads: 13
  211-Owner: HECTOR SANTOS
  211-Desc : Wildcat! For PHP (plus lite installation of PHP v5.3)
  211-Info : WCPHP-LITE-5.3.0.exe installs PWE (PHP Wildcat Extension) plus and a
  211-Info : lites installation of the PHP v5.3 engine.  This is good for people
  211-Info : who don't have already PHP installed and don't need a complete
  211-Info : installation of PHP.  If you need a complete PHP v5.3 installation and
  211-Info : don't have it installed already, use CPHP-FULL-5.3.0.EXE.
  211 ***** End of file information *****

quote XOPT on|off

Use this command to set or unset various FTP server options. The available FTP server options are:

  FTP> quote xopt
  230-Wildcat! Extended options (QUOTE XOPT options)
  230- TUS  use local machine temp storage for uploads
  230- DUS  use direct wildcat! storage for uploads
  230

By default, when a file is uploaded, wcFTP will use a temporary storage area to allow any special processing/scanning of the file prior to being moved and posted in the file storage area. For some operations with very huge file uploads, this can take a long time in moving files across a network. By using the DUS server option, this allows wcFTP to use the file area storage location as the temporary file area. This avoids any further file high overhead network movement.

  FTP> quote xopt dus
  230 Using direct storage for uploads
  FTP> put c:\wc5\wcSmtpTrace20130905.NTBBS.log
  200 PORT command successful.
  150 Opening ASCII mode data connection for wcSmtpTrace20130905.NTBBS.log.
  226 Transfer complete (5456.8 K/s).
  ftp: 13107402 bytes sent in 2.39Seconds 5481.97Kbytes/sec.
  FTP>

quote LZDC on|off

Limit file listing/downloads with zero downloads. This quote command is useful for users who need to prepare a listing (dir) or download (get) of only new files only. In this case, new files are defined as never been downloaded before and has a download count of zero. Once the file is downloaded, the file statistics download count is incremented. When LZDC is enabled, the file will be hidden from the user during the session and can no longer be listed or downloaded.

    FTP> .. user is logged in ...
    FTP> QUOTE LZDC ON
    FTP> GET file1.zip
    FTP> GET file2.zip

Once the files are downloaded, they will no longer be available for any subsequent attempt to download or listing. The QUOTE LZDC command need only be issued once during the FTP session.

Note, the files are still in the Wildcat! files area database and are available for future downloads unless deleted or the LZDC command is used again in future FTP sessions.


quote PFID userid|username

Set the User ID value for private file uploads.

  FTP> QUOTE PFID 3456
  230 Private file user id 3456 set for user: CompanyXYZ
  FTP> PUT file1.zip

  FTP> QUOTE PFID CompanyABC
  230 Private file user id 22256 set for user: CompanyABC
  FTP> PUT file1.zip

  FTP> QUOTE PFID
  230 Private File User ID Cleared

The file1.zip will be posted for the user CompanyXYZ only and file2.zip will be posted for the user CompanyABC only. The files will be securely hidden from all other users.

Note, the uploader is always considered an owner of the file and can always access the uploaded file.

Note, the Wildcat! Configuration File Areas option "Allow Private Files" must be enabled in order to use private files feature.

To clear the private file user id for subsequent file uploads, issue the command again without any parameters as shown in the example.