PowerTCP FTP for .NET
ConvertToUnix(String) Method



A Windows path
Converts a relative or absolute Windows path to a Unix path fragment, and replaces any Unix filesystem-illegal characters with underscores.
Syntax
Public Overloads Shared Function ConvertToUnix( _
   ByVal windowsPath As String _
) As String
Dim windowsPath As String
Dim value As String
 
value = UnixPath.ConvertToUnix(windowsPath)
public static string ConvertToUnix( 
   string windowsPath
)
public:
static String^ ConvertToUnix( 
   String^ windowsPath
) 

Parameters

windowsPath
A Windows path

Return Value

A Unix-compatible path fragment
Remarks
Typically intended for relative paths, as absolute Windows paths contain root (eg: "C:\" or "\\ServerName"), which may result in unexpected conversions.
See Also

Reference

UnixPath Class
UnixPath Members
Overload List


PowerTCP FTP for .NET Documentation Version 6.1
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic