| 
			
			 | 
		#1 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 11 
				Karma: 10 
				Join Date: Sep 2017 
				
				
				
				Device: Android tablet 
				
				
				 | 
	
	
	
		
		
			
			 
				
				calibredb to write to a remote content server?
			 
			
			
			calibredb add book.epub --with-library http://192.168.1.150:8090 
		
	
		
		
		
		
		
		
		
		
		
		
	
	results in: Forbidden also tried with username, password Am using calibre main app's built-in server, with local write enabled. Is there an alternative way to accomplish this?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				Join Date: Aug 2009 
				Location: The Central Coast of California 
				
				
				Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			CalibreDB does not talk to the content server (the URL you gave). It operates direct on the DB. Also all the CLI tools expect a LOCAL (on HD) Library 
		
	
		
		
		
		
		
		
		
		
		
		
	
	![]() FTP ne books to the (configured) Auto-Add folder  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | |
| 
			
			
			
			 Member 
			
			![]() Posts: 11 
				Karma: 10 
				Join Date: Sep 2017 
				
				
				
				Device: Android tablet 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 I don't think that's the case because the following works from the same machine: calibredb add book.epub --with-library http://127.0.0.1:8090  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 null operator (he/him) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,018 
				Karma: 30277294 
				Join Date: Mar 2012 
				Location: Sydney Australia 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			@plo233 - if "calibredb to write to a remote content server?" means via The Internet, then: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	The 192.168 addresses are reserved for private network (Intranet) use, they can't be used from The Internet.   else See ==>> Private network - Wikipedia and The calibre Content server — calibre 3.8.0 documentation [ . . . ]    BR  | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | |
| 
			
			
			
			 Member 
			
			![]() Posts: 11 
				Karma: 10 
				Join Date: Sep 2017 
				
				
				
				Device: Android tablet 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#6 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			You need to setup a user account on the server, give it write permissions and use the username and password in the calibredb invocation.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 11 
				Karma: 10 
				Join Date: Sep 2017 
				
				
				
				Device: Android tablet 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			This wasn't working before but I actually needed to tick "Require username and password," otherwise the passed username/password was being ignored and write access blocked, despite the account existing (maybe a bug?).  Working now - thanks!
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Well yes, if you dont tick that, the server does no authentication.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
| Tags | 
| calibre-server, calibredb, metadata | 
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| calibredb cannot add with content server running | apiontek | Calibre | 10 | 08-04-2017 05:50 AM | 
| Can we setup a DNS server to fake amazon's server and remote apply the jailbreak? | zfu | Kindle Developer's Corner | 9 | 05-07-2015 11:08 AM | 
| [Old Thread] Remote library support (not content server) | mikew | Calibre | 18 | 05-29-2013 08:27 AM | 
| Porting Calibre's built-in web server to a remote server? | perryja | Related Tools | 6 | 05-02-2013 10:05 AM | 
| Book directory on remote server | sasilk | Library Management | 3 | 08-13-2011 12:10 PM |