Hello!
Is possible to manage an upload (via ftp) queue with curl? I made a solution 
that use curl to upload files on an ftp server and my customer has to upload 
15-20000 files at time... I see in the server log that curl 
open-auth-upload-close connection every file.

Here my method (called for every file :( )

Private Sub UploadFiles(DocToUpload As String)
  dim e as integer
  dim d as UploadCURL
  dim b as BinaryStream
  dim f As FolderItem
  
  f=SpecialFolder.Desktop
  b=f.Child(DocToUpload).OpenAsBinaryFile(false)
  
  d=new UploadCURL 'as curlsmbs
  d.stream=b
  d.OptionURL=StringConnectToServer+StringServerPath+DocToUpload
  d.OptionUpload=true
  d.OptionInFileSize=b.Length
  
  e=d.Perform
End Sub


Many thanks!

------

Sergio Tamborini
Brescia
http://www.system-i.it


"C'è un equivoco di fondo. Si dice che il politico che ha avuto frequentazioni 
mafiose, se non viene giudicato colpevole dalla magistratura, è un uomo onesto. 
No! La magistratura può fare solo accertamenti di carattere giudiziale. Le 
istituzioni hanno il dovere di estromettere gli uomini politici vicini alla 
mafia, per essere oneste e apparire tali"

"There is a basic misunderstanding. It is said that political mafia has had 
acquaintances, if not found guilty by the courts, is an honest man. No. The 
judiciary can only do the findings of a judicial nature. Institutions have a 
duty to oust politicians close to the mafia, to be honest, these look "

Paolo Borsellino


_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to