"No matching file found"

Advertisement

Uzmark
Guest

"No matching file found"

I have a weird issue.

Using the .NET assembly in a VB.NET application to download files from an sFTP server. It works fine but whenever there is a file with the character '[' in the filename, I get "No matching file found" error. It seems that it wont find the file on the remote server.

From the log:

2017-01-02 14:34:09.860 E[testfile].pdf;-;22546;2016-12-30T08:43:04.000Z;3;"" [0];"" [0];rw-rw----;0
< 2017-01-02 14:34:09.860 Script: No file matching 'E[testfile].pdf' found.

If I remove the [ charachter in the filename the file downloads fine.

Is there a limitation on having files with the '[' charachter in it?

Thanks
Uzz

Reply with quote

Advertisement

Uzmark
Guest

Re: "No matching file found"

Uzmark wrote:

I have a weird issue.

Using the .NET assembly in a VB.NET application to download files from an sFTP server. It works fine but whenever there is a file with the character '[' in the filename, I get "No matching file found" error. It seems that it wont find the file on the remote server.

From the log:

2017-01-02 14:34:09.860 E[testfile].pdf;-;22546;2016-12-30T08:43:04.000Z;3;"" [0];"" [0];rw-rw----;0
< 2017-01-02 14:34:09.860 Script: No file matching 'E[testfile].pdf' found.

If I remove the [ charachter in the filename the file downloads fine.

Is there a limitation on having files with the '[' charachter in it?

Thanks
Uzz

Anyone, please?

I tried to use the session.MoveFile command to remotley rename the file, but since the file cant be found (although it is there) when the [ character is in the filename, the command is unsuccesssful.

Kind regards
Uzz

Reply with quote

Advertisement

You can post new topics in this forum