NetTalk Central

Recent Posts

Pages: [1] 2 3 ... 10
1
Web Server - Ask For Help / Re: Desktop File path
« Last post by rjolda on Today at 12:49:25 AM »
HI RIchard,
I am still not sure what you are trying to do.  Like Stu said - everything that web server accesses should be beneath the web folder  - otherwise you compromise security on your server. 
I am not sure why users would want to work on their local folder?
I do backups but end user has no control - and they are off site and in the cloud...
The best way for users to have access to their machine and run a desktop program AND connect to a web app is to build a net Web Client into the desktop app. 
Ron
2
Web Server - Ask For Help / Re: Desktop File path
« Last post by Stu on May 29, 2024, 08:37:12 PM »
Hi Richard,

How does the webserver have access to the user's desktop to copy the files?

Generally if you want to give the user a way to "get a file to a location", you host it out of the webserver and give them a link to it - when they click they should get the browser option to save/open.

So if you have a rar/zip backup file, you would put that somewhere under the webserver "web" folder, then build a url to that location, put the url on the NetWebForm (or whatever proc you are building), and they click + download.

If you go deeper, you would build a button + progress bar interface (where the progress bar turns into a link to download).

There should be examples that do this.
3
Web Server - Ask For Help / Re: Desktop File path
« Last post by Richard I on May 29, 2024, 06:58:05 PM »
Ron,
In my post you will note I am trying to direct a folder to the users desktop
It appears that the dos filepath template available in Clarion is not applicable to Webapps

So Im creating a folder, copying tps files to it and then the intention is to copy that folder to the users desktop
(The backup routine is working and currently the user needs to navigate to the app folder,copy and paste)

Its similar intent to the  file download app but a folder does not have a suffix.

I await in eager anticipation.....
Regards,
Richard
4
Web Server - Ask For Help / Re: Desktop File path
« Last post by rjolda on May 29, 2024, 01:08:03 AM »
Hi Richard,
Yes, There is always a way.  What are you trying to get done?
Ron
5
Web Server - Ask For Help / Desktop File path
« Last post by Richard I on May 28, 2024, 09:17:52 PM »
Hello
I have a backup routine with a string field called loc:desktopfilepath
I want the user to be able to lookup  their own local desktop  path so the created folder is copied there....
Is there a way?
Thanks Richard
NT 14.22

   IF p_web.GSV('loc:Desktopfilepath') = ''
         locsite = 'VisaBackup'&'-'&FORMAT(today(),@D11)       !  loc:Alert ='Desktop filepath is empty - populate location'
      ELSE
         locsite =  p_web.GSV('loc:Desktopfilepath')&'\VisaBackup'&'-'&FORMAT(today(),@D11)
      END
   
      CreateDirectory(locsite)
      copy('User.tps',locsite)
etc
6
Web Server - Ask For Help / Re: File Upload button on MemForm
« Last post by jking on May 28, 2024, 12:05:43 PM »
Hi Bruce,

     In preparing the example app web26, I found a solution.  I simply created a local variable (string) and used this in the Field name on the field tab of the File Upload button.  It now uploads the selected file to the uploads folder.

Thanks,

Jeff
7
Web Server - Ask For Help / Re: msvcr140.dll is missing
« Last post by Johan de Klerk on May 28, 2024, 02:48:50 AM »
Hi Heinz,

You did not install the Visual Studio 2017 (x86).
https://www.capesoft.com/docs/NetTalk14/NetTalk.htm#DeployingAtlsClientOrServer

Regards

Johan de Klerk
8
Web Server - Ask For Help / msvcr140.dll is missing
« Last post by hkalmbach on May 28, 2024, 01:27:33 AM »
Hello,
I tried to configure email sending on a windows server 2022. For this I used netdemo / Email send.
The email should be send by smtp.office365.com. On sending the test email I get the message that some dll's could not be loaded.
Everything is present but not msvcr140.dll.
Is this a microsoft dll? Can somebody help?

Cheers
Heinz
9
Web Server - Ask For Help / Re: File Upload button on MemForm
« Last post by Bruce on May 27, 2024, 08:57:09 PM »
Very possible Jeff - make an example and post here.
10
Web Server - Ask For Help / Re: Old wizard
« Last post by Bruce on May 27, 2024, 08:52:48 PM »
thanks
Pages: [1] 2 3 ... 10