Hi cats,
please I have set my camera as fpt site
whit flashfxp I can see the content of a disc inserted in camera with this:
so to have access at the camera
username: admin
password: pdw-f800
I would like do a batch script that access to the camera automatically and copy the file c:\c0020.mxf into the dir \\clip of the xdcam disc of the camera
How can I do? thanks
+ Reply to Thread
Results 1 to 7 of 7
-
-
Hi !
Something like that could help you :
Create a batch file copytocam.bat
Code:echo user admin pdw-f800 >cmds.ftp echo cd /clip >>cmds.ftp echo put c:\c0020.mxf >>cmds.ftp echo bye >>cmds.ftp ftp -d -n -i -s:cmds.ftp ip_address_or_name_of_camera_here del cmds.ftp
The first 4 rows create a set of commands for ftp. Attention, the first one has a single > (to truncate existing file) and 3 nexts have double > (>>) to append the file
Replace ip_address_or_name_of_camera_here with eighter something like 192.168.1.45 (you camera IP address) or the name like ftp.mywebcam.org. -
IT WORKS! thanks!!!
please can I ask you another thing?
now I would like the batch to this:
check all .mxf files in the folder "clip" of the webcam and try to put the c:\c0020.mxf into the "clip" folder of the camera, but if there are anhother file called C0020.mxf ----> rename the C:\C0020.mxf as C0021.MXF (or C0700.MXF or C0701.mxf ... etc. until C9999.MXF) and put it on the folder "clip" of the camera
How can do this?
thanks -
Siamese twin cats.
"now I would like the batch to this:
check all .mxf files in the folder "clip" of the webcam and try to put the c:\c0020.mxf into the "clip" folder of the camera, but if there are anhother file called C0020.mxf ----> rename the C:\C0020.mxf as C0021.MXF (or C0700.MXF or C0701.mxf ... etc. until C9999.MXF) and put it on the folder "clip" of the camera"
I would swear I read the same request in another topic.
Some cat needs to read the forum rules about cross-posting. -
oh, I forgot to specify the "please enter cats only, thanks"
in fact: in this tread I ask a different thing. The batch have to enter in ftp site, see a list of .mxf files and choose a filename that are not present in that ("clip") folder, possibly starting from C1700.mxf (if alrerady exist C1700.mxf, it have to choose C1701.mxf, but if C1071.mxf is already present it have to choose C1702.mxf). So for example, the c:\c0020.mxf have to be renamed in C1700.mxf and put into the "clip" folder -
Keep repeating it and you will believe it.
But if you can NOT adopt what was already said in the other thread to this scenario then I really am sorry for you.
'Spoon fed' is two many words