Hello everyone,

Took my first stab at using libURLftpUploadFile

My URL is of the form

        theURL = ftp://server Path//Documents/This Folder/That Folder/And Now 
Here

and the file

        myFile = /Users/gregory/Desktop/My Assignment.csv

I use the standard answer dialog to prompt for file selection, but when the 
script is run, nothing is transferred to the server.  

on mouseUp
   answer file "Choose the file"
   if it is not empty
   then 
      put it into myFile
      libURLftpUploadFile myFile,theURL
   end if
end mouseUp


I know that the address is correct because I can upload data to the server using

        put URL (“ftp://“ & etc.)

What am I doing wrong?

Regards,

Gregory





_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to