[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [gftp] User Agent



On Thu, 19 Mar 2009 12:41:39 -0400 Yoinier wrote:

> Hello, I'm are new user of gftp, and I need change the User Agent from
> Version to Mozilla 5.0, for example??
> 
> Anybody how to??

I don't know about the configuration dialogue for HTTP, but you can change the source
code if you need to. In lib/rfc2068.c, you can change the line that is

  tempstr = g_strdup_printf ("%sUser-Agent: %s\nHost: %s\n", (char *) command,
                             gftp_version, request->hostname);

and make it say Mozilla after User-Agent: .

Droshalla