DUA Will Not Move Files.. PLEASE HELP!

W

whammy

Hello all,

I have scoured the web and this newsgroup for info pertaining to this
problem with no luck. Here it goes...

I am trying to simply move a file from an IIS server to my XPE kiosk
using the Device Update Agent. This is all being done on the same
network, with all permissions correctly specified for both the web
server side and the directory I want to write to on the XPE box.

I know that DUA will work in some cases. DUA will work if I am just
doing an execute command.(Specifically I used it to remotely
deactivate HORM on the XPE box when it was currently activated).

In the IIS log on the server, I get a 200 response on the HTTPGet of
the DUP file and the HTML file I am trying to move, indicating that
the Get of the files was successful. On the XPE box I do not get any
errors in the event viewer for the DUA service, indicating the DUP
file is being received fine (and theoretically the html file as well).

I can download this file fine on the XPE box by simply navigating to
the file n IE (since its running on a public IIS server).

So basically DUA works to execute commands, but not move or copy
files. If needed I can post my specific DUS but I was hoping the above
info would be a good start.

Please any input at all would be greatly appreciated!

Thanks in advance,
Reagan
 
P

Peter Karlshøj Jensen

Try to post an example of your .dus file with the get and move command.

If http get is successful you should see the files in your dua working
folder.

Remember these parameter to move file, some could be useful:
DAMOVEFILE_REPLACE_EXISTING
DAMOVEFILE_DELAY_UNTIL_REBOOT
DAMOVEFILE_COPY_ALLOWED (Important if you move from one drive to another)

MOVEFILE,,,D:\DUA\Working\file1.exe,1,D:\Windows\file1.exe,DAMOVEFILE_DELAY_UNTIL_REBOOT|DAMOVEFILE_REPLACE_EXISTING

/Peter
 
W

whammy

Peter


HTTPGET,0,0,<server IP>,0,demo/example.html,0,c:\demo\example.html

MOVEFILE,,,c:\demo\example.html,,c:\Target
\example.html,DAMOVEFILE_REPLACE_EXISTING

demo is the folder on the development PC and the IIS server folder
that I can browse on the web. 'demo' contains the DUP file and the
HTML file to move.

Target is the folder on the xpe box i want the file dropped in.

Thanks,
Reagan
 
W

whammy

Peter

HTTPGET,0,0,<server IP>,0,demo/example.html,0,c:\demo\example.html

MOVEFILE,,,c:\demo\example.html,,c:\Target
\example.html,DAMOVEFILE_REPLACE_EXISTING

demo is the folder on the development PC and the IIS server folder
that I can browse on the web. 'demo' contains the DUP file and the
HTML file to move.

Target is the folder on the xpe box i want the file dropped in.

Thanks,
Reagan

Anyone? Still no luck, any help would be appreciated.
 
P

Peter Karlshøj Jensen

C:\Demo folder exist on your C: drive?
C: drive is your %systemroot%?
Try to download the file to Working DUA folder.

Try to rename the .html file to .tst:
HTTPGET /example.tst,,, example.html

Seen that DUA doesn't work with some extension, e.g it can't get a .vbs
file - Maybe the same issue with html?

/Peter
 
W

whammy

I did try renaming the file. Tried it with PDF extension and tst
extension. Will not move any type of files.

Not sure what you mean by your first statement. C:\demo is my working
DUA folder on the development PC. That is the folder that contains the
DUP file and the HTML file for transfer C:\target is where I want the
file moved to on the XPE machine.

Thanks for the responses but I still can't get anywhere with this. Any
other help is greatly appreciated.

-Reagan
 
P

Peter Karlshøj Jensen

Start with a simple test, compile the dus file with only the httpget
command.

Verify that the example.html is downloaded correctly to C:\Demo

Is the file in the C:\Demo folder after you restart the dua service?

/Peter

I did try renaming the file. Tried it with PDF extension and tst
extension. Will not move any type of files.

Not sure what you mean by your first statement. C:\demo is my working
DUA folder on the development PC. That is the folder that contains the
DUP file and the HTML file for transfer C:\target is where I want the
file moved to on the XPE machine.

Thanks for the responses but I still can't get anywhere with this. Any
other help is greatly appreciated.

-Reagan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top