1. CJ Lai
  2. PowerServer 2020 or older (Obsolete)
  3. Wednesday, 24 June 2020 19:58 PM UTC

Hi Everyone

I need to put a file onto a file server from another server where my web application runs.

The file server has many mapped/lettered drives (d:\, e:\, f:\, ect.)

If I use a full path name \\fileservername\D$\folder1\folder2\ my web application will not recognize it and it fails.

I believe the app doesn't like the dollar sign $

 

I am referring to nvo AppeonFileService's of_appeonDOWNLOAD and of_appeonUPLOAD functions. 

What format should I use for the argument 'target?'

Is there any solution to this?

Thanks!

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 24 June 2020 20:13 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # Permalink

Hi CJ;

  UNC (un-mapped) drives are typically blocked in most environments that I have seen. Also, this type of a privilege is within a Web browser is normally revoked by default.

  FWIW: One suggestion would be to use PowerServer's built-in File Upload feature to get the file to PS's IIS server. Once on that PS's server landing pad, I would use a background App to move it to the final target server. This approach would also work on Mobile Apps as well.

  The other thought would be to FTP the file directly to the target server. Not sure though if this will work within a web app. FYI: https://www.topwizprogramming.com/freecode_ftpclient.html

 Food for thought.

Regards ... Chris

Comment
There are no comments made yet.
CJ Lai Accepted Answer Pending Moderation
  1. Wednesday, 24 June 2020 20:28 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 1

Hi Chris

I should have been more clear.

I was referring to nvo AppeonFileService's of_appeonDOWNLOAD and of_appeonUPLOAD functions. 

What format should I use for the argument 'target?'

Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 24 June 2020 23:35 PM UTC
Hi CJ;

The destination argument is the "sub-folder" name on the File Server's landing pad. The path to the actual landing pad on the server is defined in the server set-up.

Regards ... Chris
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.