]> git.pld-linux.org Git - packages/busybox.git/blob - busybox-ftpput.patch
- dropped, use mdadm instead
[packages/busybox.git] / busybox-ftpput.patch
1 --- busybox-1.00/networking/ftpgetput.c.orig    2005-02-15 13:30:36.000000000 +0100
2 +++ busybox-1.00/networking/ftpgetput.c 2005-02-15 14:00:35.315575696 +0100
3 @@ -237,10 +237,6 @@
4         }
5         fd_data = xconnect_ftpdata(server, buf);
6  
7 -       if (ftpcmd("CWD ", server_path, control_stream, buf) != 250) {
8 -               bb_error_msg_and_die("CWD error: %s", buf + 4);
9 -       }
10 -
11         /* get the local file */
12         if ((local_path[0] == '-') && (local_path[1] == '\0')) {
13                 fd_local = STDIN_FILENO;
14 @@ -264,7 +260,7 @@
15                         break;
16                 }
17         }
18 -       response = ftpcmd("STOR ", local_path, control_stream, buf);
19 +       response = ftpcmd("STOR ", server_path, control_stream, buf);
20         switch (response) {
21         case 125:
22         case 150:
This page took 0.094848 seconds and 3 git commands to generate.