Enelar / win-sshfs

Automatically exported from code.google.com/p/win-sshfs
0 stars 0 forks source link

Some files sved with size 0 #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
On windows server 2008 R2, has a virtual machine (hyper-v) debian, mounted.

What steps will reproduce the problem?
1. Mount the drive
2. On Photoshop, make an image, save for web
3. the file on the drive has 0kb

What is the expected output? What do you see instead?
Expected to has some information, the file is blank

What version of the product are you using?

win-sshfs: 0.0.1.5
Client OS: windows 2008
Server OS: debian 6.5
Ssh server: debian

Please provide any additional information below.
Noted that when trying to do the same with word, open a file, make some 
content, save on the remote, it works fine. With dreamweaver, save a file, 
saves with 0kb, but after some time (about 15 to 20 secs) the file is ok.

Original issue reported on code.google.com by webmas...@colservers.com on 19 Jul 2012 at 10:48

GoogleCodeExporter commented 9 years ago
If you have a fast connection to the server the caching can make files look 
unmodified. You can change caching values in Sshfs.exe.confing to lover ones 
and see what happens. Do photoshop files have 0 b permenantly?

Original comment by mladenov...@gmail.com on 20 Jul 2012 at 9:25

GoogleCodeExporter commented 9 years ago
Yes, it saves 0b permanently. I've modified AttributeCacheTimeout to 5 and 
DirContentCacheTimeout to 10; the I tell you what happens

Original comment by webmas...@colservers.com on 20 Jul 2012 at 5:40

GoogleCodeExporter commented 9 years ago
Know, on any values fo this attributes, can't connect, even with the default 
ones. "Can't install driver", even changing the values, closing the 
application, reopening, changing the values of the remote, etc.

Original comment by webmas...@colservers.com on 20 Jul 2012 at 5:59

GoogleCodeExporter commented 9 years ago
Reinstalled the app; can't connect. Verified the ssh server and it is up and 
running; can connect with putty. Help me please!

Original comment by webmas...@colservers.com on 20 Jul 2012 at 6:01

GoogleCodeExporter commented 9 years ago
Wow, strange. That means something weird is happening with Dokan . Try to 
reinstall it.
About you main issue you can try atachement in issue 20 , try to save photoshop 
file, and send me the log file(it will be created in same folder as app). Also 
NetworkDrive option might help.

Original comment by mladenov...@gmail.com on 20 Jul 2012 at 6:21

GoogleCodeExporter commented 9 years ago
Reinstallation of dokan works. The problem of files from photoshop persists, 
even with modifiyig the cache values. The log files is attached. Thank you very 
much

Original comment by webmas...@colservers.com on 20 Jul 2012 at 7:48

Attachments:

GoogleCodeExporter commented 9 years ago
The proccess seems similar Office's one. Empty file is created. Temp file is 
created. Content is written to temp file . And when you expect to see temp file 
moved to overwrite empty, Photoshop simply calls Delete on temp file and you 
are just left with empty one. You can also try NetworkDrive option inside 
Sshfe.exe.confing or to set AttributeCache to zero. Does photoshop show any 
error message while doing this? I can't promise you anything till late October, 
but may I know which version of Photoshop are you using so I could try to debug 
it?

Original comment by mladenov...@gmail.com on 21 Jul 2012 at 11:41

GoogleCodeExporter commented 9 years ago
Seams that AttributeCache set to 0 works. If any thing else happneds I'll 
update the post.

Thanks a lot, great work!

Original comment by webmas...@colservers.com on 21 Jul 2012 at 2:11

GoogleCodeExporter commented 9 years ago
This also fix a situation on dreamweaver: when I have a site, and create a new 
file on the file manager, it creates with size 0b and no content (off course); 
but now, I creates with the default html content. By the way, my photoshop is 
cs6 and dreamweaver too.

Original comment by webmas...@colservers.com on 21 Jul 2012 at 3:05

GoogleCodeExporter commented 9 years ago

Original comment by mladenov...@gmail.com on 7 Oct 2012 at 7:02