Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using WinZip with $ and comma characters
Message
 
To
29/05/2012 12:23:22
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01544626
Message ID:
01544631
Views:
22
>>How about to round the name of the file in quotation marks?
>>
>>winzip ... "someTestFile$@#%$.txt"
>
>I do not think this is an issue. The report I get in my log is exactly the file name which exists on disk with the full path. However, this is reported in this method:
>
>
>        ' Check if a file exist
>        Public Function FileExist(ByVal tcFile As String) As Boolean
>            Dim llExist As Boolean = False
>
>            If File.Exists(tcFile) Then
>                llExist = True
>            Else
>                llExist = False
>            End If
>
>            Return llExist
>        End Function
>
>
>The current full path for this file is 264 characters. I think the File namespace of .NET cannot handle it. Could it be?

Wasn't Windows max lenght of the file name 260 chars?
Not sure though.

Update:
http://msdn.microsoft.com/en-us/library/aa365247.aspx#maxpath
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform