250
File Move/File Rename (/N)
Function
This function is used to move the specified file (move source pathname) on the communication
partner side to the move destination pathname. This function is used specifically to move or rename
files within the same drive.
Starting method
int argc = 4
char* argv[] = { "fl", "/N", "move source pathname" , "move destination pathname" }
DoFlink(argc, argv)
Move source pathname
Specify the file to be moved on the communication partner side by its full pathname.
A wild card cannot be used for the file name.
Move destination pathname
Specify the move destination pathname on the communication partner side.
The pathname must include the drive name and directory name.
If the specified directory does not exist, it will be automatically created.
Parameter setup examples
argc = 4
argv[] = {“fl” , “/N” , “a: test kk.dat” , “a: data ”}
With the above specifications the a: test kk.dat file is moved to the a: data directory
on the communication partner side.
argc = 4
argv[] = {“fl” , “/N” , “a: test kk.dat” , “a: data sj.dat”}
The a: test kk.dat file on the communication partner side is renamed to a: data sj.dat
using the above specifications.