rename Hidden File with new 3.0 version - WeOnlyDo Discussion board

rename Hidden File with new 3.0 version (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Sören Kohls, Monday, November 14, 2005, 13:28 (6743 days ago)

Hello,

we try to upgrade to the new 3.0 version but in the new version the rename function throws an exception( no such file or directory ) when we try to rename a hidden file.
we use the following commad:

_sftp.Rename( /var/vftr01/test/.test.tif , /var/vftr01/test/test.tif );

The file we try to rename ( /var/vftr01/test/.test.tif ) exists on the server but it's a hidden file with the . in front of the name.

It works fine in the old 2.x version but with 3.0 we get an exception!


Complete thread: