Jump to content

Copy file using iis+hyperv , do not work ?


FFREDIANELLI

Recommended Posts

Hi Folks !

my aplications was running from a long time in a windows+apache server , i migrate to windows+iis+hyperserv and the copy of files is not working

  if CopyFile(pchar('\\ip... bla bla...\file.docx'),
    pchar('c:\temp\a.docx'), false) then
    ShowMessage('ok')
  else
    ShowMessage('Falha');

a simple command like this always return false, something that i have to change in iis configuration ?

 

Link to comment
Share on other sites

Yes it is... but behind a openvpn (service), i thought that iis have read access to a vpn provided by other service... don't ?

The server is at AWS (amazon), and sometimes neet to publish a word document that is located in other country server, in apache i just copy the file to a sandbox folder , publish with word web service, and on disconect i clean de sandbox. But all off this stopped to work when i moved to aws with iis.

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...