apodavalov / transmission-remote-dotnet

Automatically exported from code.google.com/p/transmission-remote-dotnet
GNU General Public License v3.0
0 stars 0 forks source link

auto correction paths \ replaced by / #334

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Привет,

Была бы полезна авто коррекция путей \ 
заменять на /

Попробую объяснить:
Иногда когда добавляешь новый torrent файл, 
делаешь ошибку при указании пути к нему
вместо такого / ставишь \ по ошибке 
например:
не правильно
/mnt/HD_b2/HDD2_DNS323/Soft/OS\WinXP\Chip_2010.06.iso

правильно
/mnt/HD_b2/HDD2_DNS323/Soft/OS/WinXP/Chip_2010.06.iso

а чаще всего такие ошибки появляются когда 
копия путь с Windows XP
V:\HDD2_DNS323\Soft\OS\WinXP\

вставляешь в transmission-remote-dotnet
/mnt/HD_b2/HDD2_DNS323\Soft\OS\WinXP\

правишь начало и если не пропустил ни 
одного "\" то путь получается правильный
/mnt/HD_b2/HDD2_DNS323/Soft/OS/WinXP/
и torrent качается куда нужно

а если ошибся то torrent скачивает, но не туда 
куда нужно :(
создаются папки вида " _EOP52~L "

Спасибо!

---------------------------
Hi, 

Would be useful for auto correction paths \ replaced by / 

Let me explain: 
Sometimes when adding a new torrent file, you make a mistake in the path to it 
instead of this / you put \ in error 
For example: 
wrong 
/ Mnt/HD_b2/HDD2_DNS323/Soft/OS \ WinXP \ Chip_2010.06.iso 

correctly 
/ Mnt/HD_b2/HDD2_DNS323/Soft/OS/WinXP/Chip_2010.06.iso 

but more often such mistakes occur when a copy of the path from Windows XP 
V: \ HDD2_DNS323 \ Soft \ OS \ WinXP \ 

inserted into the transmission-remote-dotnet 
/ Mnt/HD_b2/HDD2_DNS323 \ Soft \ OS \ WinXP \ 

edit the start and if not missed a single "\" then the path turns right 
/ Mnt/HD_b2/HDD2_DNS323/Soft/OS/WinXP / 
torrent and swings where you want to 

and if something was wrong torrent downloads, but does not go where you want: ( 
created folder type "_EOP52 ~ L" 

Thank you!

Original issue reported on code.google.com by Kevin315...@gmail.com on 14 Oct 2010 at 5:47

GoogleCodeExporter commented 9 years ago
I think, the best way is auto transform path from local path ( i.e. V: \ 
HDD2_DNS323 \ Soft \ OS \ WinXP \ ) to remote path ( i.e. / 
Mnt/HD_b2/HDD2_DNS323 \ Soft \ OS \ WinXP \  ), based on server samba settings

Original comment by nafania...@gmail.com on 23 Nov 2010 at 9:44

GoogleCodeExporter commented 9 years ago
Fixed by r703.

Original comment by elso.and...@gmail.com on 29 Dec 2010 at 12:37