Link to home
Start Free TrialLog in
Avatar of samurai34
samurai34

asked on

How do I save a file over the UNC Path?

I want to save a Stringlist to a File with the UNC-Filename, without mapping the Ressource, in Delphi.

ASKER CERTIFIED SOLUTION
Avatar of TheRealLoki
TheRealLoki
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Are you using a Dialog to save or do you insert the path in your code?

Either way just use the '\\' at the beginning of the path (Take off any drive specifications like C:\ etc...)

Example:

('c:\Yourpath\yourfile.ext')  would like like this ('\\yourpath\yourfile.ext')

If you are using the Dialogs just browser the network to the desiredv location.