Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
b8a24c4a
Commit
b8a24c4a
authored
Jun 09, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FTP cleartext authentication from Petr Vacek.
parent
c9c85bef
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
THANKS
THANKS
+1
-0
modules/access/ftp.c
modules/access/ftp.c
+10
-2
No files found.
THANKS
View file @
b8a24c4a
...
...
@@ -110,6 +110,7 @@ Ondrej Kuda aka Albert <kuda at natur dot cuni dot cz> - HTTP interface tips and
Patrick Horn <patrickd0thorn at mindspring d0t com> - DirectShow patch
Paul Mackerras <paulus at linuxcare.com.au> - AltiVec IDCT and motion
Pavlov Konstantin “thresh” - several Linux build system fixes
Petr Vacek - FTP cleartext authentication
Philippe Van Hecke <philippe at belnet dot be> - SAP header hash patch
Pierre Marc Dumuid <pierre.dumuid at adelaide dot edu dot au> - Playlist patches
Régis Duchesne <regis at via.ecp.fr> - original VLC code
...
...
modules/access/ftp.c
View file @
b8a24c4a
...
...
@@ -123,7 +123,11 @@ static int Connect( access_t *p_access, access_sys_t *p_sys )
msg_Dbg
(
p_access
,
"connection accepted (%d)"
,
i_answer
);
if
(
p_sys
->
url
.
psz_username
&&
*
p_sys
->
url
.
psz_username
)
psz
=
strdup
(
p_sys
->
url
.
psz_username
);
else
psz
=
var_CreateGetString
(
p_access
,
"ftp-user"
);
if
(
ftp_SendCommand
(
p_access
,
"USER %s"
,
psz
)
<
0
||
ftp_ReadCommand
(
p_access
,
&
i_answer
,
NULL
)
<
0
)
{
...
...
@@ -139,7 +143,11 @@ static int Connect( access_t *p_access, access_sys_t *p_sys )
break
;
case
3
:
msg_Dbg
(
p_access
,
"password needed"
);
if
(
p_sys
->
url
.
psz_password
&&
*
p_sys
->
url
.
psz_password
)
psz
=
strdup
(
p_sys
->
url
.
psz_password
);
else
psz
=
var_CreateGetString
(
p_access
,
"ftp-pwd"
);
if
(
ftp_SendCommand
(
p_access
,
"PASS %s"
,
psz
)
<
0
||
ftp_ReadCommand
(
p_access
,
&
i_answer
,
NULL
)
<
0
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment