H HengeDK Member Licensed User Longtime User Jun 17, 2013 #1 Im lost here. so please help ;-) im lost at the filecopy2 function I get file not exist Code: job1.Download("http://xxx.xxx.xxx.xxx/test.db") Dim out As OutputStream out = File.OpenOutput(File.DirDefaultExternal, "test.db" ,False ) File.Copy2(job1.GetInputStream, out) out.Close job1.Release
Im lost here. so please help ;-) im lost at the filecopy2 function I get file not exist Code: job1.Download("http://xxx.xxx.xxx.xxx/test.db") Dim out As OutputStream out = File.OpenOutput(File.DirDefaultExternal, "test.db" ,False ) File.Copy2(job1.GetInputStream, out) out.Close job1.Release
walterf25 Expert Licensed User Longtime User Jun 17, 2013 #2 File doesn't exist I think the file gets saved in the Code: file.DirInternal directory, try switching from file.dirdefaultexternal to file.DirInternal. Regards, Walter Upvote 0
File doesn't exist I think the file gets saved in the Code: file.DirInternal directory, try switching from file.dirdefaultexternal to file.DirInternal. Regards, Walter
Erel B4X founder Staff member Licensed User Longtime User Jun 18, 2013 #3 Are you checking that Job.Success is True? Upvote 0