bugecp - Bugs: bug #17080, ecp does not realise need to copy...

 
 

bug #17080: ecp does not realise need to copy file from ftp server.

Submitted by:  Eoin Mcloughlin <eoinmcl>
Submitted on:  Tue 11 Jul 2006 05:50:16 PM UTC  
 
Category: NoneSeverity: 2 - Minor
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Andre Reffhaug <areffhaug>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 11 Jul 2006 05:50:16 PM UTC, original submission:

In source field, if the ftp protocol is in non-lowercase, ecp will not copy from an ftp server. This can be fixed by changing calls to strncmp with calls to strncasecmp
Diff for copy.c in version 0.1.5 beta:

233c233
< if ((strncmp (argv[optind], "ftp://", 6)) == 0)
---

> if ((strncasecmp (argv[optind], "ftp://", 6)) == 0)

283c283
< if ((strncmp (argv[argc-1], "ftp://", 6)) == 0) /* we are copying TO an FTP */
---

> if ((strncasecmp (argv[argc-1], "ftp://", 6)) == 0) /* we are copying TO an FTP */

Eoin Mcloughlin <eoinmcl>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 11 Jul 2006 05:54:08 PM UTCareffhaugStatusIn Progress=>Fixed
  Assigned toNone=>areffhaug
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1