diff --git a/reference/ftp/functions/ftp-nlist.xml b/reference/ftp/functions/ftp-nlist.xml index 2ce23370ec..5b009df336 100644 --- a/reference/ftp/functions/ftp-nlist.xml +++ b/reference/ftp/functions/ftp-nlist.xml @@ -1,5 +1,5 @@ - + ftp_nlist @@ -29,7 +29,10 @@ directory - The listed directory. + The directory to be listed. This parameter can also include arguments, eg. + ftp_nlist($conn_id, "-la /your/dir"); + Note that this parameter isn't escaped so there may be some issues with + filenames containing spaces and other characters. diff --git a/reference/ftp/functions/ftp-site.xml b/reference/ftp/functions/ftp-site.xml index 128df51a5c..67052f3313 100644 --- a/reference/ftp/functions/ftp-site.xml +++ b/reference/ftp/functions/ftp-site.xml @@ -1,5 +1,5 @@ - + ftp_site @@ -38,7 +38,8 @@ command - The SITE command. + The SITE command. Note that this parameter isn't escaped so there may + be some issues with filenames containing spaces and other characters.