changeset 757:d4207e5d2aa3

2006-6-22 Brian Masney <masneyb@gftp.org> * lib/rfc959.c (rfc959_syst) - disable the show_hidden_files and resolve_symlinks options when connecting to a VMS server
author masneyb
date Fri, 23 Jun 2006 01:36:53 +0000
parents 1e07981f7511
children 87ddbac54d36
files ChangeLog lib/rfc959.c
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Jun 23 01:35:19 2006 +0000
+++ b/ChangeLog	Fri Jun 23 01:36:53 2006 +0000
@@ -1,4 +1,7 @@
 2006-6-22 Brian Masney <masneyb@gftp.org>
+	* lib/rfc959.c (rfc959_syst) - disable the show_hidden_files and
+	resolve_symlinks options when connecting to a VMS server
+
 	* lib/pty.c (_gftp_ptys_open) - fixes for setting up the slave pty
 	under HPUX (closes #303066)
 
@@ -3381,7 +3384,7 @@
 
 	* cvsclean - added this script
 
-	* *.[ch] - added $Id: ChangeLog,v 1.432 2006/06/23 01:35:18 masneyb Exp $ tags
+	* *.[ch] - added $Id: ChangeLog,v 1.433 2006/06/23 01:36:53 masneyb Exp $ tags
 
 	* debian/* - updated files from Debian maintainer
 
--- a/lib/rfc959.c	Fri Jun 23 01:35:19 2006 +0000
+++ b/lib/rfc959.c	Fri Jun 23 01:36:53 2006 +0000
@@ -419,7 +419,12 @@
   if (strcmp (stpos, "UNIX") == 0)
     request->server_type = GFTP_DIRTYPE_UNIX;
   else if (strcmp (stpos, "VMS") == 0)
-    request->server_type = GFTP_DIRTYPE_VMS;
+    {
+      gftp_set_request_option (request, "show_hidden_files",
+                               GINT_TO_POINTER(0));
+      gftp_set_request_option (request, "resolve_symlinks", GINT_TO_POINTER(0));
+      request->server_type = GFTP_DIRTYPE_VMS;
+    }
   else if (strcmp (stpos, "MVS") == 0 ||
            strcmp (stpos, "OS/MVS") == 0)
     request->server_type = GFTP_DIRTYPE_MVS;