Casio PA-2400W manual Pathname of requested file, 12\*.dat d\casio\*.* \casio data

Page 60

Title

 

Command

FLCE /R

This command uses a pathname request to specify file that exists on the communication partner side, then receive the file.

If an identical file name exists in the reception directory of the PA-2400W, it will be overwritten.

If the directory that is specified as the reception directory does not exist, it will be automatically created. The progress of file transfer will be displayed.

All other operations which must follow conditions at the communication partner, refer to Chapter 7.8 “Conditions at Communication Partner”.

￿C Language Interface￿

Calling Sequence￿

 

FLCE /R[<Option>] <Request file pathname> [<Request file pathname >] [...] <Reception directory

 

pathname>

￿

(Parameters in [ ] can be omitted.)

Parameters￿

Option O: Specification of forced overwrite of a read-only file

If this option is specified, even read-only file will be overwritten.

If an overwrite is attempted on read-only file and this option is not specified, this command will be abnormally terminated.

R: Recursive call

All files that exist under the directory specified by the transmission file pathname are used as the objective of file transfer. If the specified directory has any sub-directories, they will also be included in the destination directories for file transmission.

Even if this option is specified, the transmission file pathname should be specified by full pathname.

Pathname of requested file

Specify an objective file of reception that exists on the communication partner side by its full pathname.

To specify all files enter "*.*" as file name. A wild card can be used for file name.

Directory names or file names can be described using 2-byte code characters.

Specify a pathname of requested file according to the naming rules of the communication partner-side OS. Refer to Chapter 7.8 “Conditions at Communication Partner”.

Destination directory pathname

As the last input parameter of this command describe the destination directory name of the communication partner side.

If specified directory does not exist, it will be automatically created by the specified name.

￿Enter a "\" as the delimiter of the directory name. If not, it will result a parameter error.

Directory names can be described by using 2-byte code characters.

 

Example “\”

Root directory specification

 

“\casio\12\”

Sub-directory specification

￿

“\casio”

Incorrect specification

 

 

 

Startup￿Examples￿

 

 

FLCE /R

"a:\12\*.dat" "d:\casio\*.*" "\casio data\"

This transfers all files under the "12" directory of drive A: of the communication partner side which

have a "dat" extension and all files under the "casio" of drive D: to the "casio data" directory of the

￿PA-2400W.

FLCE /RR "a:\12\*.dat" "d:\casio\*.*" "\casio data\"

This transfers all files under the "12" directory (including the sub-directories) of drive A: of the communication side which have a "dat" extension and all files under the "casio" directory (including the sub-directories) of drive D: to the "casio data" directory of the PA-2400W.

60

Image 60
Contents PA-2400W Library Manual VersionTable of Contents Fchkce /G Fchkce /C Preface CasioBootup Library Supported FilesSystem Library SIPanel LibrarySystem configuration Host PC PA-2400W Copy3 I/O Bootup Library Dedicated Library and Utility System LibrarySIPanel Library File Transfer Utility File Check UtilityDevelopment Environment System Library Overview Details of Function Title FunctionParameters None Return Values Header #include CasioSys.h RemarksTurns off the backlight Language Interface Calling Sequence True Backlight is onFalse Backlight is offHeader #include CasioSys. h Remarks DisablePowerOff Bool EnablePowerOff Disable the power to be turned off with the power button Enable the power to be turned off with the power buttonHeader Bool ApoCountReset Void SoftReset Disables automatic power-on with the alarm Internal errorLanguage Interface Calling Sequence Parameters Bool bModeBool GetPowerOnAlarm Default Sample program to acquire power-on event notification Bool GetPowerEventStat SIPanel Library Overview SIPANEL.DLLSIPANEL.EXE Use of SIPanel Library RestrictionsProgram for starting up the library RegistryLpctstr lpParam Sipshow SiphideSample program to start up the SIPanel Hinstance LptstrSample program of application software for business use Tchar ClassName = Text CallSipTchar ClassNameTSR = TEXTSipTsr HbCallText = CreateWindow TEXTbutton, TEXTText AreaHWnd = CreateWindowClassName, ClassName Wsvisible Wsoverlapped WssysmenuLpCmdLine Find SipTsr Options of Command Line Px,ySw,h O Bootup Library Overview FunctionIOBOX1.DLL PortInfinite = No timeout Dword294,967,295 msec. equals to Infinite Fail to call the functionSequential Mode Multiple-Thread ModeUse of ioboxchk Sample Program Hwnd= Null Wsoverlapped WINDOWWIDTH/2WINDOWHEIGHT/2 NullCase Wmpaint Wait for 5 seconds Disable the power on by alarm Enable the power on event notificationRegistry of Libraries File Transfer Utility Overview RS-232C InterfaceIrDA 1.0 Interface List of Supported Commands Use of Flce Termination of FlceOperation Input ParameterRestrictions Communication Commands OptionsTypes of Arguments OverwriteMethod of Describing Pathname Reference Storage Card PC card My Documents Internal RAMWindows95 /Windows NT Required Error if omitted Specifying Non-existing FileDOS Windows CESetting Up Registry Setting Up ItemsSetting Up Registry with User Application Hkey hKey1Long lReg1 Dword Disp1Err=FALSE Else If err==TRUE Return errTermination Codes Should take an action that is appropriate to each definitionError Code Meaning Possible Cause Remedy Log File Log File NameLocation of Log File Method of Creation12Precautions Details of Command and Option Transmission file pathname Destination directory pathnameFlce /S \casio\*.dat d\casiodat\ Flce /SR \casio\*.dat d\casiodat\Pathname Pathname of requested file\12\*.dat d\casio\*.* \casio data\ Flce /RR a\12\*.dat d\casio\*.* \casio data\Appended file pathname Target file pathnameFlce /A \MY\casio.dat b\your\master.dat Pathname of file to be deleted Without the R option Source pathname Destination pathnameFlce /N a\ 12\kk.dat a\casio\ Flce /N a\12\kk.dat a\casio\sj.datParameters None SetupExample Flce /SR \casio ap\*.* \casio ap\ /TSession with PC Flce casio.scrFlce /Y=COM1, , casio.scr Session between PA-2400W-and-PA-2400WCommand and Status Idle notificationRetry Process When Downloading File Retry MethodPreparation at PC \soft\Restriction Preparation at PA-2400WRetry.scr List of Commands File Check Utility OverviewOperation Method Downloading file from PC to PA-2400WOperation Copying file with PC card from PA-2400W to PA-2400W Transmission side PA-2400WCopy PC card Describing Method 1Pathname Details about Command and Option Examples of specification for command and optionExamples of Correct Startup Example of Incorrect Startup no /G or /C optionCommand of Fchkce 1Generation of List File Comparison by List File \AP\MENU.EXE 12345 \CONFIG.SYS 1000 \AUTOEXEC.BAT 512 Format of List FileExample FILENO=3Syntax Analysis of Script File Childproccmd = COption = Recursiveoption Updateoption Recursiveoption = R Error Messages/Codes Restriction Option /SCSpecification of a script file name Specification of recursive callAO Append output File name list or Script file nameDestination directory name FCHK.LOG file output directory name\casio\ .dat \casio data\ \casio\ Fchkce /G /R \casio\ .dat \casio data\ \casio\Does not compare the update data OptionFCHK.LOG file pathname Fchkce /C \casio data\