DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23986>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23986 scp task hangs indefinitely when target directory doesn't exist Summary: scp task hangs indefinitely when target directory doesn't exist Product: Ant Version: 1.6Beta Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When trying to copy a file to a non-existant directory, the scp ant task: a) hangs indefinitely b) doesn't give any feedback (like a commandline scp does) >From a regular shell: [EMAIL PROTECTED] scp /etc/fstab [EMAIL PROTECTED]:/home/user/this_dir_does_not_exist/ [EMAIL PROTECTED]'s password: scp: /home/user/this_dir_does_not_exist/: Is a directory Running ant with this target: <target name="scptest"> <scp file="C:\winnt\notepad.exe" todir="[EMAIL PROTECTED]:/home/user/this_dir_does_not_exist/" password="pwd"/> </target> gives scptest: [scp] Connecting to remotemachine:22 [scp] java.io.FileNotFoundException: C:\Documents and Settings\user\.ssh\known_hosts (The system cannot find the path specified) <it just hangs indefinitely at this point> I'm using 1.6beta1 but there don't appear to have been any changes to the tasks that would affect this. I would expect the task to (optionally) fail but most importantly give feedback like the commandline version does. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]