Casio PA-2400W manual Appended file pathname, Target file pathname

Page 61

Title

 

Command

FLCE /A

This command transfers the contents of file that exists on the PA-2400W and specified by the append file pathname to the communication partner side of PA-2400W, and append the contents to file that exists on the communication partner side.

If file specified by the target file pathname does not exist on the communication partner side, it will be automatically created.

The date and time of the target file will be set to current system date and time of a machine where the target file is processed for the append operation.

If the file transfer fails in mid-course, the target file restores the condition that existed before communication started.

File data will be appended as binary data. (If the target file is terminated by EOF code, the data will be appended after the EOF code.)

The progress of file transfer will be displayed.

If a transmission file pathname that does not exist on the PA-2400W is specified, the FLCE is immediately terminated by error. If this occurs, even files that exist will not be transmitted.

C Language Interface￿

Calling Sequence￿

￿FLCE /A <Appended file pathname> <Target file pathname>

Parameters￿

Appended file pathname

Specify an objective file of transmission that exists on the PA-2400W by its full pathname.

A wild card cannot be used for the file name

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

Target file pathname

Specify file that is the target of append and that exists on the communication partner side by its full pathname. If the specified file does not exist, it will be automatically created by specified file name. A wild card cannot be used for file name.

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

￿Create the target file pathname in accordance with the naming rules of the communication partner-side OS.

Startup￿Example￿

FLCE /A "\MY\casio.dat " "b:\your\master.dat"

This appends the contents of the "casio.dat" file to the "master.dat" file on the communication partner side.

61

Image 61
Contents Version PA-2400W Library ManualTable of Contents Fchkce /G Fchkce /C Casio PrefaceSupported Files Bootup LibrarySystem Library SIPanel LibraryHost PC PA-2400W Copy System configurationDedicated Library and Utility System Library 3 I/O Bootup LibrarySIPanel Library File Check Utility File Transfer UtilityDevelopment Environment System Library Overview Title Function Details of FunctionParameters None Return Values Header #include CasioSys.h RemarksTurns off the backlight Language Interface Calling Sequence Backlight is on TrueFalse Backlight is offHeader #include CasioSys. h Remarks DisablePowerOff Bool EnablePowerOff Enable the power to be turned off with the power button Disable the power to be turned off with the power buttonHeader Bool ApoCountReset Void SoftReset Internal error Disables automatic power-on with the alarmLanguage Interface Calling Sequence Parameters Bool bModeBool GetPowerOnAlarm Default Sample program to acquire power-on event notification Bool GetPowerEventStat SIPANEL.DLL SIPanel Library OverviewSIPANEL.EXE Restrictions Use of SIPanel LibraryProgram for starting up the library RegistryLpctstr lpParam Siphide SipshowSample program to start up the SIPanel Lptstr HinstanceTchar ClassName = Text CallSip Sample program of application software for business useTchar ClassNameTSR = TEXTSipTsr HbCallText = CreateWindow TEXTbutton, TEXTText AreaWsvisible Wsoverlapped Wssysmenu HWnd = CreateWindowClassName, ClassNameLpCmdLine Find SipTsr Px,y Options of Command LineSw,h Function O Bootup Library OverviewIOBOX1.DLL PortDword Infinite = No timeout294,967,295 msec. equals to Infinite Fail to call the functionMultiple-Thread Mode Sequential ModeUse of ioboxchk Hwnd Sample Program= Null WINDOWWIDTH/2 WsoverlappedWINDOWHEIGHT/2 NullCase Wmpaint Wait for 5 seconds Enable the power on event notification Disable the power on by alarmRegistry of Libraries RS-232C Interface File Transfer Utility OverviewIrDA 1.0 Interface List of Supported Commands Termination of Flce Use of FlceOperation Input ParameterRestrictions Options Communication CommandsTypes of Arguments OverwriteMethod of Describing Pathname Storage Card PC card My Documents Internal RAM ReferenceSpecifying Non-existing File Windows95 /Windows NT Required Error if omittedDOS Windows CESetting Up Items Setting Up RegistryHkey hKey1 Setting Up Registry with User ApplicationLong lReg1 Dword Disp1Return err Err=FALSE Else If err==TRUEShould take an action that is appropriate to each definition Termination CodesError Code Meaning Possible Cause Remedy Log File Name Log FileLocation of Log File Method of Creation12Precautions Details of Command and Option Destination directory pathname Transmission file pathnameFlce /S \casio\*.dat d\casiodat\ Flce /SR \casio\*.dat d\casiodat\Pathname of requested file Pathname\12\*.dat d\casio\*.* \casio data\ Flce /RR a\12\*.dat d\casio\*.* \casio data\Target file pathname Appended file pathnameFlce /A \MY\casio.dat b\your\master.dat Pathname of file to be deleted Without the R option Destination pathname Source pathnameFlce /N a\ 12\kk.dat a\casio\ Flce /N a\12\kk.dat a\casio\sj.datFlce /SR \casio ap\*.* \casio ap\ /T Parameters None SetupExampleFlce casio.scr Session with PCFlce /Y=COM1, , casio.scr Session between PA-2400W-and-PA-2400WIdle notification Command and StatusRetry Method Retry Process When Downloading FilePreparation at PC \soft\Preparation at PA-2400W RestrictionRetry.scr File Check Utility Overview List of CommandsDownloading file from PC to PA-2400W Operation MethodOperation Transmission side PA-2400W Copying file with PC card from PA-2400W to PA-2400WCopy PC card Describing Method 1Pathname Examples of specification for command and option Details about 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 Format of List File \AP\MENU.EXE 12345 \CONFIG.SYS 1000 \AUTOEXEC.BAT 512Example FILENO=3Childproccmd = C Syntax Analysis of Script FileOption = Recursiveoption Updateoption Recursiveoption = R Error Messages/Codes Restriction Specification of recursive call Option /SCSpecification of a script file nameAO Append output File name list or Script file nameFCHK.LOG file output directory name Destination directory name\casio\ .dat \casio data\ \casio\ Fchkce /G /R \casio\ .dat \casio data\ \casio\Option Does not compare the update dataFCHK.LOG file pathname Fchkce /C \casio data\