Thank you to worry about
"serveur" is the adress of ftp host (ftp://user:[EMAIL PROTECTED]/)
"arbo" contains the complete path of folder that is displayed
"y" (parameter) contains the term "fichier" and the name of the file wich the user wants to transfer
"fichier" is the url of the file (arbo & y)
"connexion" is a boolean to show or hide the state (connected or not of the transfert)
arbolocale is a handler that shows the state of defaultfolder after transfert (should do)
on transfert y
global serveur, arbo, connexion
switch word 1 of y
case "dossier"
delete word 1 of y
-- � traiter par r�cursivit� (to be writen later)
break
case "fichier"
delete word 1 of y
put arbo & y into fichier
put true into connexion
set visible of button "activit� serveur" to connexion
libURLDownloadToFile fichier
if the result is not empty then answer fichier & return & the result
put false into connexion
arbolocale defaultfolder
break
end switch
end transfertY probably did something wrong but, as usual when you have something just under your eyes, you don't see it
Pascal
Pascal Jablonka IUFM de Paris http://certem.paris.iufm.fr/jablonka
Le 18 ao�t 04, � 16:05, Troy Rollins a �crit :
On Aug 17, 2004, at 9:40 AM, Pascal Jablonka wrote:
I'm new on this list. I'm french, I'm trying to write a standard ftp tool who can work as well on Macintosh, Windows and Linux for my students wich are preservice teachers.
using " libURLDownloadToFile fichier" in order to put the url fichier (ftp://user:[EMAIL PROTECTED]/path of the file) into the default folder, the respons of the serveur is "can't open that file" whatever the type of the file is.
How to copy a file from an ftp host or to an ftp host ?
Hi Pascal,
Can you post the segment of code which is trying to do this? Maybe if we see it we can tell you what is wrong.
-- Troy RPSystems, Ltd. http://www.rpsystems.net
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
