1. CJ Lai
  2. PowerServer 2020 or older (Obsolete)
  3. Thursday, 2 July 2020 14:10 PM UTC

Hi

I have set a 'landing pad' in the appeonfileserver.xml per this post -> https://bit.ly/2VH8Y8W

The path is set to a C:\temp\ on the very same server.

When my web app is run on the server's browser, the file server downloads a file from a different drive (d:\) on the same server to the land pad. However, the downloaded file has zero bit. 

I have checked the security and permission on both locations. They both have the Fill control granted to IIS_IUSRS

The original file on D:\ is a legit, wholesome file.

 

I also found out that when I run the web app from another remote server, on the FIRST IWA run, the function downloaded an empty file as well. BUT, when I ran the app via the IWA icon the second time, the file downloaded just fine. 

A few minutes later (I'd say 30+ minutes without any further operation), the zero-byte file download happened again. It is though there is a window when fileserver's download function works... It's a bit spotty. 

What could possible go wrong?

Any insights?

Thanks

 

 

Accepted Answer
CJ Lai Accepted Answer Pending Moderation
  1. Friday, 3 July 2020 11:26 AM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # Permalink

I figured it out.

There was a FileDelete call before the of_appeondownload call.

I don't know why but after I removed the FileDelete call, which is supported by PowerServer (https://bit.ly/2NRQXR9), it went well. of_appeondownload downloads the file on the first go.

¯\_(ツ)_/¯

Comment
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.