[ 
https://issues.apache.org/jira/browse/NETBEANS-5479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308079#comment-17308079
 ] 

Stephen Boyer commented on NETBEANS-5479:
-----------------------------------------

The link you posted takes me to a page that says:
h1. Oracle Access Manager Operation Error

The WebGate plug-in is unable to contact any Access Servers.

Contact your website administrator to remedy this problem.

> Remote upload (sftp) removing character from path
> -------------------------------------------------
>
>                 Key: NETBEANS-5479
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5479
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 11.3, 12.1, 12.0.1, 12.2, 12.3
>            Reporter: Stephen Boyer
>            Priority: Major
>
> When doing a remote upload, either manual or upload on save to an sftp 
> server, Netbeans will connect, parse the default path correctly, then remove 
> the first character in the folder path.
>  
> For example: SFTP path"/var/www/vhosts/mydomain.com/httpdocs
> file in project: application/views/myview.php
>  
> Netbeans will try to save the file to the following location: 
> /var/www/vhosts/mydomain.com/httpdocs/pplication/views/myview.php
>  
> This of course fails since it is stripping the first character out of the 
> file path.
>  
> Some additional information:
> tested on 11.3, 12.0, 12.0.1, 12.2, 12.3
> System type: Windows X64
>  
> Log:
> Connecting to domain.com port 22
> Connection established
> Remote version string: SSH-2.0-OpenSSH_5.3
> Local version string: SSH-2.0-JSCH-0.1.54
> CheckCiphers: 
> aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
> CheckKexes: 
> diffie-hellman-group14-sha1,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
> CheckSignatures: ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
> SSH_MSG_KEXINIT sent
> SSH_MSG_KEXINIT received
> kex: server: 
> diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
> kex: server: ssh-rsa,ssh-dss
> kex: server: 
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
> kex: server: 
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
> kex: server: 
> hmac-md5,hmac-sha1,umac...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
> kex: server: 
> hmac-md5,hmac-sha1,umac...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
> kex: server: none,z...@openssh.com
> kex: server: none,z...@openssh.com
> kex: server:
> kex: server:
> kex: client: 
> ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
> kex: client: 
> ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
> kex: client: 
> aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
> kex: client: 
> aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
> kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
> kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
> kex: client: none
> kex: client: none
> kex: client:
> kex: client:
> kex: server->client aes128-ctr hmac-md5 none
> kex: client->server aes128-ctr hmac-md5 none
> SSH_MSG_KEXDH_INIT sent
> expecting SSH_MSG_KEXDH_REPLY
> ssh_rsa_verify: signature true
> Permanently added 'domain.com' (RSA) to the list of known hosts.
> SSH_MSG_NEWKEYS sent
> SSH_MSG_NEWKEYS received
> SSH_MSG_SERVICE_REQUEST sent
> SSH_MSG_SERVICE_ACCEPT received
> Authentications that can continue: publickey,keyboard-interactive,password
> Next authentication method: publickey
> Authentications that can continue: password
> Next authentication method: password
> Authentication succeeded (password).
> CWD /var/www/vhosts/domain.com/httpdocs
> Directory successfully changed.
> PWD
> /var/www/vhosts/domain.com/httpdocs
> CWD /var/www/vhosts/domain.com/httpdocs
> Directory successfully changed.
> LIST
> Here comes the directory listing.
> Directory send OK.
> CWD /var/www/vhosts/domain.com/httpdocs
> Directory successfully changed.
> LIST
> Here comes the directory listing.
> Directory send OK.
> CWD /var/www/vhosts/domain.com/httpdocs/pplication/views
> Failed to change directory.
> CWD /
> Directory successfully changed.
> CWD var
> Directory successfully changed.
> CWD www
> Directory successfully changed.
> CWD vhosts
> Directory successfully changed.
> CWD domain.com
> Directory successfully changed.
> CWD httpdocs
> Directory successfully changed.
> CWD pplication
> Failed to change directory.
> MKD pplication
> pplication created.
> CWD pplication
> Directory successfully changed.
> CWD views
> Failed to change directory.
> MKD views
> views created.
> CWD views
> Directory successfully changed.
> DELE welcome.php.new
> No such file
> QUIT
> Goodbye
> Summary
> ====================
> Failed:
> file pplication/views/welcome.php Cannot upload file welcome.php (unknown 
> reason).
> Runtime: 931 ms, processed: 0 file(s), 0 KB



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to