Jump to content
Mimiko

Unable to use \\?\ in OverbyteIcsFtpMulti

Recommended Posts

Hi there,

we're trying to use TIcsFtpMulti to upload and download files from several FTP servers. All's working well except when using file paths starting with \\?\ (for use with devices that have no drive letter and no label assigned). Some methods check for Pos('?', someVar) > 0 to raise an error. Could this possibly be extended to

((Pos('?, someVar) > 0) and (Copy(someVar, 1, 4) <> '\\?\'))

as a workaround? I'm just wondering that nobody else's got there already.

We're using V 9.3 from GetIt Package Manager (D12)  - OverbyteIcsFtpMulti is still V 9.1.

TIA

Michael

 

Share this post


Link to post

All those checks for ? relate to non-unicode compilers converting UTF8 file names to ANSI with substitutions for bad characters, so I've made them conditional on a new property that will need be enabled for Delphi 2007 and earlier to get the same 'Skipped Inaccessible Unicode Name' error. 

 

Angus

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×