FTP Download

Josep jmyepes at mac.com
Mon Feb 9 20:01:50 EST 2009


Hi,

I'm trying to download a PDF file from one ftp site, but only obtain an
error. Why? The file is about 1Mb aprox. Trying these URL directly in the
browser the PDF is downloaded perfectly.

I use this piece of code:

on mouseUp
   libURLDownloadToFile \
  
"ftp://<username>:<pass>@ftp.regio7.cat/regio7_manresa/R7M_01022009.pdf","regio7","status"
end mouseUp

on status
   put the urlstatus of
"ftp://<username>:<pass>@ftp.regio7.cat/regio7_manresa/R7M_01022009.pdf"
into field fStatus

end status

Nothing. What I doing wrong? I need download every day a PDF file from one
ftp and upload to another, and save a copy of the PDF in the local hard
disk.

Thanks in advance.

Salut,
JosepM
-- 
View this message in context: http://www.nabble.com/FTP-Download-tp21925626p21925626.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list