Thanks Pierre

I had preferred to use libURLftpUploadFile because I could set up a callback
to work a scrollbar, do other things when pStatus is "downloaded" etc
However, I seem to have got it working now. FYI,

Put fld "contains FTP path" into tURL
Put "c:/myfile.txt" into tFilepath
libURLftpUploadFile  tFilepath, tURL , "showStatus"
does not work

Put fld "contains FTP path" into tURL
Put "c:/myfile.txt" into nURL
libURLftpUploadFile  nURL, tURL , "showStatus"
works fine!

Only difference is the name of the variable - wonder why?

Thanks anyway
Kevin



Pierre wrote
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_credenti...@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 icrit :

> 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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to