English 中文(简体)
Access Arabic-named files through FTP
原标题:
  • 时间:2010-01-21 17:04:16
  •  标签:
  • ftp
  • arabic

I have a website hosted on GoDaddy windows servers. I want to move the website to another server. I tried to download the whole website files via FTP but there are some files which named in Arabic and when my FTP client (FireFTP) tries to save them on my pc, the file name becomes underscores (e.g. _______.jpg). I cannot change the file names because they are linked from the database (the website is a DotNetNuke CMS).

I am wondering if this problem is due to the FTP server itself or the FTP client I m using?

最佳回答

I finally could solve this by writing a script (in ASP.NET/C#) to rename all files to numbers (e.g. 1.jpg, 2.doc ....) and then download the renamed files though FTP. The script also genrates commands to rename the files back to the original names in Arabic.

问题回答

暂无回答




相关问题
What is the simplest way to create my own FTP server?

What is the simplest way to create my own FTP server in C#? Some of the folders will be virtual folders. The authentication should be from a SQL Server database, which includes tables of the ASP.NET ...

FTP In/Out Folder Name Best Practices

What best practices (if any) do you adhere to regarding setting up outgoing and incoming folders for your FTP clients? We typically use "outgoing" and "incoming", but no matter how you phrase the ...

Using TCPClient with RAW FTP to retrieve file

I get the following message back when trying to retrieve a file using TCPClient and RAW FTP: 425 Failed to establish connection. I connect using : using (TcpClient client = new TcpClient("...

Retrieving a List of Files from an FTP server in C#

I m trying to retrieve a list of files from an FTP server, but I m getting some weird non-ASCII responses. Here is the code that I am using: public string[] getFileList(string mask) { if(!...

FTP error on Quit command

I m using a ftp library that causes an error sending the quit command. It seems that the character before QUIT is not recognized. I took a look at the code but didn t find anything. 500 ?QUIT : ...

Passive FTP Timeout while using WinINet

I m trying to ftp a file using passive ftp but I get a timeout (12002) when the put command is called. I m able to use passive ftp with other ftp sites but not this new one. I ve tried this using ...

热门标签