via ftp send file to maste's the root folder
yanghua_angel
Posts: 33
i have problem about send some gui file to the master via ftp .but when i used ftp , i only saw 'doc:user\' and can't up directory.somebody told me amx master has root folder ,but i can't find it .
username : NetLinx
password: password
can anyone help ? thanks
username : NetLinx
password: password
can anyone help ? thanks
0
Comments
You also may download your gui file there or in a subfolder.
To replace the start webpage of the master, put a index.html here, the original pages will not be lost.
You can go up a directory using the directory command /../ to get at the system files PROG.zip, vxWorks, etc but you really don't want to be in there for want you're doing.
I get a 500 denied trying to up dir, I want to look at the vxWorks image, do you have a list of the files hidden below initial ftp directory? PROG.TKN, etc
file:PROG.ZIP
file:PROG.TKN
file:vxWorks
folder:user
folder:tmp
folder:ipsec
folder:certs
folder:LIB
folder:CLKMGR_DIR
file:regfile.reg
folder:unbound
folder:bound
folder:bundle
I'm pretty sure my code prepends the file and folder designations.
Thanks,
Jimmy
I don't think a snippet of my code would help much so here's a little bit more. I wrote this code 2006 and it's kind of scary to look at even for me but if you can do something with it then knock yourself out. This doesn't have any FTP stuff in it (I don't think, should be another file) but you could just use the file commands to "copy" the vxWorks file to your user directory and then use a FTP utility from there. Be careful though cuz I killed a master once transferrring the vxWork file from and then back to my master using my FTP code. I don't think it was a binary FTP transfer, oops. What did I know.
Also, couldn't you just pull the CF card and put it in a reader and save a ton of time?
When you run across this stuff: you can get rid of the compiling directives. Back then I thought I would just compile with debug info during testing and then the final code would be compiled with out it. I've since decided f' that in lieu of a debug variable in a function call and keeping it in all the time.
You can then use ftp to get and put files of interest using an absolute location.