NppFTP icon indicating copy to clipboard operation
NppFTP copied to clipboard

Upload on save fails if path contains a ":"

Open l-spiecker opened this issue 7 years ago • 4 comments

Description of the Issue

The auto-upload fails if path contains a ":". Maybe because in the local path in AppData the colon will be encoded as an underscore: "_".

Steps to Reproduce the Issue

  1. Create a directory on a linux system with a ":" in its name.
  2. Connect and load a file out of the created directory.
  3. Save file and upload fails.
  4. Manual upload should work.

l-spiecker avatar Nov 06 '17 16:11 l-spiecker

Probably some workaround is needed for reserved characters, see https://msdn.microsoft.com/en-us/library/aa365247.aspx#basic_naming_conventions%22%20target=%22_new%22.

The following reserved characters:

< (less than)
> (greater than)
: (colon)
" (double quote)
/ (forward slash)
\ (backslash)
| (vertical bar or pipe)
? (question mark)
* (asterisk)

chcg avatar Nov 06 '17 16:11 chcg

Hi, yes, the problem is the special character that is necessary to connect to IIS FTP. The pipe character | divide canonical name FTP and name account for IIS to recognize a right service. Example account ftp: ftp.pippo.com|userone There is no other way to write it Now, if you want to work with IIS, you cannot save in local cache with this syntax, this is banaly wrong.

stemaste62 avatar Aug 29 '18 11:08 stemaste62

The solution for the moment: Enter in profile settings Select the profile name Select the tab Cache Insert a valid directory in Local path Insert a slash / or other in External path Click on Add new button Work

stemaste62 avatar Aug 29 '18 12:08 stemaste62

connect sftp of windows,when save file: Upload of D:\temp\D_\xampp\htdocs\test.php failed D_ =D: why?

anytimehh avatar May 05 '19 15:05 anytimehh