diff lib/ftpcommon.h @ 847:14858879916f

2006-11-2 Brian Masney <masneyb@gftp.org> * lib/ftpcommon.h lib/ftps.c lib/rfc959.c - use the encoded filename length to determine how many bytes should be sent in the command to the remote server. Don't use the strlen() function since there may be a NUL character in the filename. ATTENTION INTERNATIONAL USERS: If you have time, can you test the filename encoding in CVS? All of the necessary changes were made to the local, FTP and SSH protocols. Let me know if you see any problems.
author masneyb
date Fri, 03 Nov 2006 03:23:19 +0000
parents 435b11d2d628
children
line wrap: on
line diff
--- a/lib/ftpcommon.h	Fri Nov 03 03:07:44 2006 +0000
+++ b/lib/ftpcommon.h	Fri Nov 03 03:23:19 2006 +0000
@@ -39,6 +39,7 @@
 
 int rfc959_send_command 		( gftp_request * request,
 					  const char *command,
+					  ssize_t command_len,
 					  int read_response,
 					  int dont_try_to_reconnect );