Problems with libURLftpUploadFile

Pierre Sahores psahores at free.fr
Fri Sep 4 11:10:13 EDT 2009


Try this working 24/7 there (Rev Ent 3.5, OS X 10.5.8)

put url ("binfile:" & path_to_thefile_to_upload) into url  
(your_FTP_server_credentials at address & the_remote_path & "/" &  
the_uploaded_file_name))
if url (FTP_Server_Address.../the_uploaded_file_name) is "" then beep

Cheers,

P.

Le 4 sept. 09 à 16:37, Kevin Stallibrass a écrit :

> Hi all,
>
>
>
> I have a problem where:
>
>
>
> Put fld "contains FTP path" into tURL
>
> libURLftpUploadFile  "c:/myfile.txt", tURL ,"showStatus"
>
>
>
> works fine but.
>
>
>
> Put fld "contains FTP path" into tURL
>
> Put "c:/myfile.txt" into tFilepath
>
> libURLftpUploadFile  tFilepath, tURL , "showStatus"
>
>
>
> Results in "c:/myfile.txt" instead of the correct data being written  
> into
> the uploaded text file
>
> The same happens if I use libURLftpUpload
>
>
>
> So, is it not possible to use 2 variables? Or am I missing something
>
>
>
> Regards
>
>
>
> Kevin Stallibrass
>
>
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.woooooooords.com
www.sahores-conseil.com









More information about the use-livecode mailing list