Skip to main content

NLST, LIST parameter

http://www.serv-u.com/Help/serv_u_help/additional_ftp_commands_supported_by_serv_u.htm


NLST, LIST


These are the two FTP commands that deal with directory listings, NLST stands for "Name LiST", LIST is "LIST directory". LIST by default returns a long format directory listing with all files and directories, NLST returns a list of file names only (no directories) unless the option "NLST also lists directories" is enabled. Normally they do not have options, or rather, the only option according to RFC959 is a directory path or file, which should be listed. Serv-U抯 version of the dir listing commands supports most of the UNIX 憀s?options, just like UNIX FTP servers do. These can be convenient for retrieving custom tailored directory listings. Supported options are:


-a = list all entries including those starting with '.'

-b = force printing of non-printable characters in octal

-c = use modification time for listing sorting

-d = if argument is a dir list only name, not contents

-e = list only files

-f = enable -a, -U, disable -l, -s

-i = print i-node number in first column

-k = use 1024 bytes for block size (default is 512 bytes)

-l = list in long format (default for LIST)

-m = stream output, list accross page separated by commas

-n = like -l, but use UID and GID numbers instead of names

-o = like -l, but without the group info

-p = put '/' after directory names

-q = print non-printable characters as '?'

-r = reverse sort order

-s = give size of each entry in blocks

-t = sort by modification time instead of name

-u = use time of last access for sorting

-w:NN = set line length to NN characters (default is 80)

-x = multi-column output with entries sorted accross

-A = list all entries, except for '.' and '..'

-B = ignore names ending on '~' for dir listing

-C = multi-column output with entries sorted down

-F = put '/' after dir names, '@' after links

-G = do not display group info

-I:"XX" = add pattern XX to the list of patterns to ignore

-L = if argument is a link, list file or dir it references

-N = force printing of non-printable characters

-Q = quote names as C-syntax strings

-R = recursively list sub directories

-S = sort by size (default is date)

-T = show extended date/time info for long format listings

-U = do not sort dir listing

-X = sort by extension of the name (default is date)

-1 = print one entry per line of output

Comments

Popular posts from this blog

user Emulator to debug Windows Mobile 6 in Vista

open Windows Mobile Device center Mobile Device Setting -> Connection Setting -> Allow connections to one of the following: Change to DMA in vs 2008, Go to Tools -> Device Emulator Manager select one from list, for example: windows mobile 6 professional emulator right on to cradle waiting for popup to establish the relationship (be sure get internet connection from Emulator)

Android Developer Learning Resource

Developing In Eclipse, with ADT http://developer.android.com/guide/developing/eclipse-adt.html Signing Your Applications http://developer.android.com/guide/publishing/app-signing.html Compile and sign with Eclipse ADT To create a signed and aligned .apk in Eclipse: Select the project in the Package Explorer and select File > Export . Open the Android folder, select Export Android Application, and click Next . The Export Android Application wizard now starts, which will guide you through the process of signing your application, including steps for selecting the private key with which to sign the .apk (or creating a new keystore and private key). Complete the Export Wizard and your application will be compiled , signed , aligned , and ready for distribution. DroidDraw is a graphical user interface (GUI) builder for the Android platform http://code.google.com/p/droiddraw/

android textsize sp, px, dp

android:textSize Since:  API Level Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). Must be a dimension value, which is a floating point number appended with a unit such as " 14.5sp ". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). This may also be a reference to a resource (in the form " @[ package :] type : name ") or theme attribute (in the form " ?[ package :][ type :] name ") containing a value of this type. This corresponds to the global attribute resource symbol  textSize .