| Anonymous | Login | Signup for a new account | 11-10-2008 10:40 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0000085 | [BusyBox] New Features | tweak | N/A | 02-04-05 11:12 | 06-24-06 08:15 | ||||
| Reporter | k1mgy | View Status | public | ||||||
| Assigned To | uClibc | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | |||||||
| Summary | 0000085: BusyBox 1,0 ftpput and source file path names | ||||||||
| Description |
BusyBox ftpput will fail (the server will return an error 553) when the source file specification of an ftpput call is made with a source file name that includes its path. I did a search on this issue and found that some other ftp clients suffer the same malady. The solution I've built is very simple. Strip the path from the local_path specifier just prior to making the call to ftpcmd("STOR"... // place this in the variable definition section char cFnBuff[32]; // enough for me ftpgetput.c approx line 276: strcpy(cFnBuff,basename(local_path)); response = ftpcmd("STOR ", cFnBuff, control_stream, buf); Therefore, issuing ftpput -u me -p pwd ftp.hostname.com /long/path/to/target /long/path/to/source/file will now work. Perhaps this should be patched into frpgetput.c? |
||||||||
| Additional Information |
Development environment cris.axis.limux.gnu |
||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |