New topic: Need help with Monkeybread Curl Plugin for FTP Upload
<http://forums.realsoftware.com/viewtopic.php?t=45650> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message basestring Post subject: Need help with Monkeybread Curl Plugin for FTP UploadPosted: Sat Oct 20, 2012 6:41 am Joined: Sat May 28, 2011 11:28 pm Posts: 96 Location: Beijing China Hi, I just bought Monkey bread Curl Plugin, and I got totally stuck I'm developing a program that manage a website. I need a very simple way for me to upload images and music to my ftp server. I've been trying and looking at the examples, but both aren't working. the only thing that was working is a directory view of my server. when Uploading, with e=d.Perform, then e is returning code 23 in my program and in the example code 67 my code look like this //upload Image to server dim f as FolderItem f = new FolderItem (filename.Text + ".jpg") NewDjImage.Save (f, picture.SaveAsJPEG, picture.QualityMedium) dim d as new UploadCURL dim e as Integer dim b as BinaryStream b = f.openasbinaryfile(false) d.OptionUsername = "username" d.OptionPassword = "password" d.stream = b d.OptionURL = "ftp.myserver.com" d.OptionUpload = true d.OptionInFileSize = b.Length e=d.Perform msgbox cstr(e) can anyone help me out Thanks _________________ For great Music got to my podcast Website!!! http://podcast.1945mf-china.com Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
