Hello,
I have a html-file with unicode. When I upload it with webcopy it can be views as intenionally.
It look like this:
But it should look like this, this was uploaded with filezilla:
What I am missing?
Sincerely
Peter
What upload method are you using? HTTP upload ? FTP upload?
When you used FTP upload, what mode did you use? Binary ? ASCII ? Can you try to change to binary with WebCopy.FTPMode := fmBinary ?
Hello,
It is ftp Mode fmBinary, but the file is wrong at the server! Maybe it is connected that the server is running on Linux, not Windows.
But Filezilla does it automatically right!
Please see the files in my first post.
Sincerely
Peter
I cannot reproduce this.
I downloaded this HTML file from : http://www.winserion.org/Serion%20Ltd.Versions.ok.html
and uploaded it with the code:
begin
with webcopy1.Items.Add do
begin
Protocol := wpFtpUpload;
FTPHost := 'www.tmssoftware.net';
FTPUserID := tmsuser;
FTPPassword := tmspassword;
URL := 'c:\temp\testfile.htm';
TargetFileName := 'testfile.htm';
TargetDir := '';
end;
webcopy1.Execute;
end;
and the resulting upload can be checked here:
http://www.tmssoftware.net/public/testfile.htm
Hello,
Which os has this server? I guess it is not linux!
But my server has linux.
Sincerely
Peter
Hello,
I installed an ftp Userid and password for you:
Server:www.winserion.org
UserId:35484ftp7
Password:tmssoftware
Can you please upload the file with webcopy on this linux-Server?
I had earlier a windows server, but changed then to linux. On windows
never were problems!
Sincerely
Peter
I cannot see where this file is mapped on the http server
but did an upload and downloaded the file again via FileZilla and WinMerge declared the files identical except for carriage returns. So, this looks all ok to me.