Jump to content
Jlassere

DOWNLOAD: function not working

Recommended Posts

Posted (edited)

I created a script to download and run BGInfo

I have it downloading and saving to a folder on the PC from the web (this works)

I have then saved a .bgi (config file) on the ltshare/transfer/scripts/bginfo/bginfo.gbi

I am trying to use the DOWNLOAD: function to download it from the share to a PC in the same folder that was created for the web download.  I keep getting the script has completed on error. The error states ERR Could not Download file /Transfer/Scripts\BGInfo\BGInfo.bgi

I also tried ziping the file and downloading the .zip with the same issue.

Not sure why this is not working Please help

Edited by Jlassere

Share this post


Link to post
Share on other sites

Other existing items in the scripts folder do give me the prompt to save 

Just the new one I added is not there.

Share this post


Link to post
Share on other sites

Rename the file name, then rename it back to the original file name. Then, rename the file extension, then rename it back to the original extension. 4-step process.

  • Thanks 1

Share this post


Link to post
Share on other sites

2 steps.

1-Move the file out of the current folder. 

2-Move it back.

As long as you don’t rename or modify files, it should be good. Moving (or copying) it into the target folder as a new file will get it successfully hashed and indexed. The File Service seems to only track file create and delete actions. If you modify it afterwards it doesn’t work.

  • Thanks 1

Share this post


Link to post
Share on other sites

I have attempted both of your suggestions to no avail the URL is still unavailable.

Is it possible that IIS is not looking in the right place?

A while back we had to go back into the config settings in CWA to point it back to the LTshare as we host it on the E:\  Drive of the server and it was set to the C:\   Drive 

Could it be that IIS does not know that it is supposed to look at the E:\    ??????

Share this post


Link to post
Share on other sites

Ok so apparently the server has not been restarted since the change in my last post was made.

I restarted the server an now the URL for getting the file works

I tested my script again and it is now working

Thanks for the help

 

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×