On 10 Jun 2008, at 11:52, [EMAIL PROTECTED] wrote:

Hi,

i´ve created a little app for a customer. This app runs under windows xp and downloads a specific file, which is about 30 MB in size, from a ftp server and stores it in a folder, which the user can define.

It works here without problems. But my customer, who has restricted user access on his machine, reports that after downloading the file successfully, he cannot find it in the defined folder. The log field (using libURLSetLogField) shows that the download was successfull. The customer has full access to the folder, he defined as target download folder. He also has full access to the folder, where my app is installed. So that could not be the problem.

Where do Revapps store big files temporally, when downloaded by "put url"?

Or are they stored completely in memory?

They're stored in memory. (You can use libUrlDownloadToFile if you want to write directly to a file.)

In addition to Sarah's comment...

I'm guessing from the heading that you're using something like this:

put url "ftp://etc.etc"; into url "binfile:etc.etc"

It might be better to split this into two stages, and check for errors after each stage:

put url "ftp://etc.etc"; into tData
put the result into tRes
if tRes is not empty then
  answer "Download error: " & tRes ## or some other procedure
else
   put tData into url "binfile:etc.etc"
  put the result into tRes
  if tRes is not empty then
     answer  "File error: " & tRes ## or some other procedure
  end if
end if

Cheers
Dave_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to