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
5 fd_data = xconnect_ftpdata(server, buf);
7 - if (ftpcmd("CWD ", server_path, control_stream, buf) != 250) {
8 - bb_error_msg_and_die("CWD error: %s", buf + 4);
11 /* get the local file */
12 if ((local_path[0] == '-') && (local_path[1] == '\0')) {
13 fd_local = STDIN_FILENO;
18 - response = ftpcmd("STOR ", local_path, control_stream, buf);
19 + response = ftpcmd("STOR ", server_path, control_stream, buf);