I'm making an application that goes files. And I got up, and make the connection, but what I want now is to upload all the files in a folder at the same time ...
How can I do it?
I tried this:
Code: Select all
Set the defaultfolder to "C: \ Share"
put the files into Open
put the item into opening 1 of Open
Set the itemdel to "/"
Opens put into tFileForUpload
# Get the name of the file for upload
Set the itemdel to "/"
put the last item of tFileForUpload into tFileName
put into empty field 1
# Connect the start the upload
Local tDestination
put "ftp: //" & FTPUSER & ":" & FTPPASS & "@" & "ftp.mydom/public_html/" & tFileName into tDestination
libURLSetStatusCallback "uploadprogress", the long ID of me
libURLftpUploadFile tFileForUpload, tDestination, "uploadComplete"
Thank you, and greetings to all! = D