Notes, Ftp list #ftplist, Syntax – Synaccess Networks NP-0801DTM User Manual

Page 247: Parameters and values, Get file size #ftpfsize

Advertising
background image

FTP AT COMMANDS 

 

 

 

 

247 

HSPA+ AT Commands Reference Guide

 

Notes 

„

The Execute command causes an ERROR result code if no FTP connection is open.  

FTP List   #FTPLIST 

Execute command, issued during an FTP connection, opens a data connection and starts getting from the server 
the list of contents of the specified directory or the properties of the specified file. 

Test command returns the OK result code. 

Syntax 

Command 

Command type 

AT#FTPLIST[=[<name>]] 

Execute 

AT#FTPLIST=? 

Test 

Parameters and Values 

<name> 

Sting type, name of the directory or file. 

Notes 

„

The Execute command causes an ERROR result code to be returned if no FTP connection is opened yet. 

„

Issuing AT#FTPLIST<CR> opens a data connection and starts getting from the server the list of contents of the 
working directory. 

Get File Size   #FTPFSIZE 

Execute command, issued during an FTP connection, permits to get  file size of <filename> file. 

Test command returns the OK result code. 

Syntax 

Command 

Command type 

AT#FTPFSIZE=<filename> 

Execute 

AT# FTPFSIZE=? 

Test 

Notes 

„

Issue FTPTYPE=0 command before FTPFSIZE command, to set file transfer type to binary mode. 

Advertising