Discuss (FTP), (FTP on .NET CF) and (FTPS, SFTP and SCP).
no avatar
User

victor

Posts

1

Joined

Mon Jun 22, 2009 6:32 pm

Problem ftp files with special letters in the file name

by victor » Mon Jun 22, 2009 6:35 pm

I?m testing edtftpnet-1.2.2.dll and it works ok but got into problem to ftp files with Nordics special letters (?, ? ?).

When I try this:
ftpConnection.UploadFile(?d:\temp\V?sj?.jpg?, ?V?rs?.jpg?, false);

Getting this exception:
V?ret_til_sj?s_2009_06_18_12_03.MP3: The filename, directory name, or volume label syntax is incorrect. (code=550)

Any ideas how to make it work ?

Thanks.
Last edited by victor on Tue Jun 23, 2009 6:51 pm, edited 1 time in total.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Problem ftp files with special letters in the file name

by support2 » Mon Jun 22, 2009 6:56 pm

You need to set the ControlEncoding property appropriately.

Who is online

Users browsing this forum: No registered users and 13 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign