diff lib/rfc2068.c @ 294:4747f621b79b

2003-10-25 Brian Masney <masneyb@gftp.org> * src/gtk/transfer.c src/gtk/gftp-gtk.h src/gtk/view_dialog.c - when editing a remote file, if the user chooses to upload the changes, make sure the upload is not sent to the current directory on the remote server. * lib/rfc2068.c - set the shown attributes to be -rw------- instead of ----------. The HTTP server doesn't send the attributes over, so I just have to make something up. * src/gtk/options_dialog.c - make sure all of the tooltips text is passed to gettext() * lib/protocols.c - if the file transfer is to be throttled, only display the throttle message once. * lib/local.c (local_get_next_file) - if the file is a symlink, grab file size and attributes from the file this symlink points to.
author masneyb
date Sat, 25 Oct 2003 21:33:46 +0000
parents 332beeff0b3d
children 3b9d5797050f
line wrap: on
line diff
--- a/lib/rfc2068.c	Wed Oct 22 20:27:23 2003 +0000
+++ b/lib/rfc2068.c	Sat Oct 25 21:33:46 2003 +0000
@@ -498,7 +498,7 @@
 
   /* Copy file attributes. Just about the only thing we can get is whether it
      is a directory or not */
-  fle->attribs = g_strdup ("----------");
+  fle->attribs = g_strdup ("-rw-------");
   if (*(pos - 1) == '/')
     {
       *(pos - 1) = '\0';