"The system cannot find the path specified"

Files and folders downloader add-on with resume support.

"The system cannot find the path specified"

Postby vlad » Fri Nov 30, 2012 12:59 pm

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!
vlad
 
Posts: 82
Joined: Sun Jan 04, 2009 6:38 pm

Re: "The system cannot find the path specified"

Postby support » Sun Dec 02, 2012 6:01 pm

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
User avatar
support
 
Posts: 1501
Joined: Sun Jan 27, 2008 6:19 pm

Re: "The system cannot find the path specified"

Postby vlad » Sun Dec 02, 2012 7:18 pm

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.
vlad
 
Posts: 82
Joined: Sun Jan 04, 2009 6:38 pm

Re: "The system cannot find the path specified"

Postby support » Tue Dec 04, 2012 7:36 am

Could you see properties/permissions on these folder? Are they available through shortcut?
User avatar
support
 
Posts: 1501
Joined: Sun Jan 27, 2008 6:19 pm

Re: "The system cannot find the path specified"

Postby vlad » Mon Dec 10, 2012 10:51 am

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.
vlad
 
Posts: 82
Joined: Sun Jan 04, 2009 6:38 pm


Return to JFileDownload



cron

Sitemap | Privacy Statement | Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc.
in the U.S. and other countries. All other company and/or product names are the property of their respective owners.