Page 1 of 1

"The system cannot find the path specified"

Posted: Fri Nov 30, 2012 12:59 pm
by vlad
Every time I try to download a certain folder it stops at this particular folder. It creates the subfolder on my computer and it fails with the following error, which makes no sense:

Code: Select all

[DEBUG] EntityEnclosingMethod - Request body sent
[DEBUG] header - << "HTTP/1.1 200 OK[\r][\n]"
[DEBUG] header - << "HTTP/1.1 200 OK[\r][\n]"
[DEBUG] header - << "Date: Fri, 30 Nov 2012 12:41:37 GMT[\r][\n]"
[DEBUG] header - << "Server: Apache/2[\r][\n]"
[DEBUG] header - << "X-Powered-By: PHP/5.3.18[\r][\n]"
[DEBUG] header - << "Expires: Thu, 19 Nov 1981 08:52:00 GMT[\r][\n]"
[DEBUG] header - << "Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0[\r][\n]"
[DEBUG] header - << "Pragma: no-cache[\r][\n]"
[DEBUG] header - << "Content-Disposition: attachment; filename="File.pdf"[\r][\n]"
[DEBUG] header - << "Accept-Ranges: bytes[\r][\n]"
[DEBUG] header - << "Content-Range: bytes 0-522129/522130[\r][\n]"
[DEBUG] header - << "Content-Length: 522130[\r][\n]"
[DEBUG] header - << "Vary: User-Agent[\r][\n]"
[DEBUG] header - << "Content-Type: application/download; charset=UTF-8[\r][\n]"
[DEBUG] header - << "[\r][\n]"
[INFO] HTTPDownloadTransfer - Status code = 200
[ERROR] HTTPDownloadTransfer - java.io.FileNotFoundException: F:\TMP\download test\Download\File.pdf (The system cannot find the path specified)
[DEBUG] HttpConnection - Releasing connection back to connection manager.
[INFO] HTTPDownloadTransfer - Download failed
Please help!

Re: "The system cannot find the path specified"

Posted: Sun Dec 02, 2012 6:01 pm
by support
Could you see permission for F:\TMP\download test\Download folder tree?
Are you under Windows Vista or Windows 7?

The error returned means that folder cannot be found, under Windows it may be because of UAC.
Try to disable it:
http://windows.microsoft.com/en-US/wind ... -on-or-off

Re: "The system cannot find the path specified"

Posted: Sun Dec 02, 2012 7:18 pm
by vlad
I am under Windows Vista. UAC is disabled and the folder "Download" is actually created by the Java applet when the download starts, so there is no reason why it should not be able to create a subfolder if it created the parent and other subfolders before. The weird is it fails every time for a particular folder (named "1121 MY Talal" - but the name doesn't seem to matter, as I can download it fine if I select only this folder and not its parent). There are 6 other subfolders before this one and the applet downloads them perfectly fine.

Re: "The system cannot find the path specified"

Posted: Tue Dec 04, 2012 7:36 am
by support
Could you see properties/permissions on these folder? Are they available through shortcut?

Re: "The system cannot find the path specified"

Posted: Mon Dec 10, 2012 10:51 am
by vlad
I do not understand what are you referring to, but I did found the problem. It happens every time a folder name ends with a space character. Windows doesn't seem to allow naming folders with space characters at its end, but Linux does. Please look into this, as it happens quite frequently for people to name folders like this.