Community
Participate
Working Groups
Connect to a WFTPD-2.03 FTP Server and try a rename operation. The FTP Log shows: CWD I:\tmp/plugtmp 250 "I:\tmp\plugtmp" is current directory RNFR I:\tmp/plugtmp\OLContent 450 You may only rename files in the current directory. In fact, passing the full path of the file to rename is unnecessary here, so why not do what the FTP server wants and pass a plain file name for RNFR. The CWD is the correct one already since the RNTO only accepts plain file names anyways...
Created attachment 73977 [details] Path showing file name only in the RNFR command Agree, now that CWD is set we don't need to specify absolute paths. It works fine with my WinNT server, I'll try with other servers before submitting it. Could you verify it works fine ?
The patch is simple enough that I'm confident it will work without me testing.
Patch applied
Comment on attachment 73977 [details] Path showing file name only in the RNFR command iplog- since Javier was committer since Aug 2006 already: http://dev.eclipse.org/mhonarc/lists/dsdp-tm-dev/msg00375.html