PDA

View Full Version : Mounting Network Drive


biggysmlz
08-02-2013, 12:48 PM
So I am trying to mount a 'network' drive, thats created with use of this webdrive application,
http://www.webdrive.com/products/webdrive/index.html

thats able to mnt ftp servers as local directories, but for some reason, ioftpd is unable to mount/list such folders. Any ideas what could be wrong? Ive tried multiple mnt points like:

"\\Webdrive" /archive2
"\\Webdrive\n" /archive3
"\\Webdrive\n:\" /archive4
"n:\" /archive5

None work :/

Any ideas on how to do such successfully?
Other ftp servers are able to mount such directory fine, but i love ioftpd... i need it to work with io :(

Yil
08-02-2013, 10:57 PM
I've recently run across someone else who also asked about a cloud based storage issue. I asked them to open up a windows command prompt, cwd to the directory, and try to list the contents with dir. For whatever reason that didn't work for them, so could you see if that works for you? I have no idea why explorer would be able to see files that lower level tools like dir can't but it appears that is what was happening. Permission issues might be involved. Make sure you're running ioftpd as the same user the files are being accessed as when testing. Double check that directories aren't marked as system or hidden.

Assuming you can see the dirs/files, the next thing to try is turning off some ioftpd features. Try setting 'NTFS_Reparse_Method = IGNORE'. This turns off the fancy logic to cache NTFS links/symlinks as links and not the target dir, but it might be getting confused with the cloud stuff.

The other thing to look for is entries in the error log. ioFTPD should warn about any mountpoints in the .vfs file that can't be accessed. It only does this the first time the .vfs file is accessed, or after any changes, to keep log spam down but you should see the error code it's returning. Let me know what is says.

biggysmlz
08-03-2013, 03:52 PM
It seems like indeed i cant see content of the dir via cmd.

Ive managed to mount it finally, to io, by enabling "Turn on UNC name.." in WebDrives prefs, then setting mount point to:

\\Z\Z /mntpoint

It helped, althou im having another issue with long dirlisting. Every time i enter the dir, webdrive starts entering every subdir of that root, i think maybe by grabbing all the sizes?

Ive tried setting that ioftpd.ini option about not showind subdir sizes to True, but that didnt seem to help.

Yil
08-03-2013, 09:07 PM
When ioftpd enters a directory for the first time it has to scan all the immediate subdirs reading the .ioftpd files to get the permissions, owner, size and symlink status. There is really no way around that right now. Unless you have enabled the no_subdir_sizing option (it's off by default) it also tallies up the total size of all the files in the subdir and counts the number of subdirs of that dir. It only goes 1 level down from whatever directory you are viewing though. This allows ioftpd to correctly display information in the long directory listing format for all the columns. I don't think any other window's ftp bothers to get things right...

However you may also notice the server caching directory listings on startup. That's the preloading features [VFS_PRELOAD] which you can disable by setting VFS = DISABLE. However if it takes you a little while to get a directory listing when you do log in you'll probably appreciate the fact that you can have the server cache things ahead of time... You can even make it cache the whole thing if you want. If you have a large number of dirs do up the size of your directory cache since you will just be wasting time if it won't all fit.

SRTTek
08-05-2013, 12:29 PM
Please visit our helpdesk at www.srthelpdesk.com and one of our engineers will be happy to help you (I work for the publisher of this product). Please describe this problem in detail, and provide screenshots if you choose. Thanks!