w0uter Posted June 13, 2005 Share Posted June 13, 2005 (edited) i thought my old _FTPxxx.au3 sucked. so i tryd using STD for it. but it failed. googled a bit and came across an vb site that used a windows dll, then i headed over to msdn to find out how to use em. this is the (unfinished) result. i am still writing alot of docs for it. since i want it included standardly. but i got sick of it and just decided to get some feedback first. [edit] uploaded a new version. for reference the old one got dl'ed 88 times. [/edit] [edit2] uploaded a new version. the other one wasnt even working. why didnt you guys say anything for reference the semi-old one got dl'ed 269 times. [/edit2]FTP_Example.au3FTP.au3 Edited July 19, 2005 by w0uter My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
layer Posted June 13, 2005 Share Posted June 13, 2005 Looks nice Keep it up. PS, I'll try em later FootbaG Link to comment Share on other sites More sharing options...
w0uter Posted June 13, 2005 Author Share Posted June 13, 2005 just getting started in the new and amazing world of dllcall's My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
rphMedia Posted June 14, 2005 Share Posted June 14, 2005 Awesome stuff! wOuter, is there a way to provide feedback of the ftp (uploading file(s))? An upload progress so-to-speak? I'm currently using an animation for the in-process, but I think an actual progress indicator would be great for larger files. Link to comment Share on other sites More sharing options...
w0uter Posted June 14, 2005 Author Share Posted June 14, 2005 (edited) Awesome stuff! wOuter, is there a way to provide feedback of the ftp (uploading file(s))? An upload progress so-to-speak? I'm currently using an animation for the in-process, but I think an actual progress indicator would be great for larger files.<{POST_SNAPBACK}>Autoit isnt really multitheaded but i think it is possible.it is to complex for me since i have no experience's with structures.but check out http://msdn.microsoft.com/library/default....nternetopen.aspill try and screw around with it a bit. Edited June 14, 2005 by w0uter My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
w0uter Posted June 14, 2005 Author Share Posted June 14, 2005 (edited) posted for 10 hours now and already 128+ reads and 55 downloads. btw 250 posts Edited June 14, 2005 by w0uter My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
rphMedia Posted June 17, 2005 Share Posted June 17, 2005 Is there a function or parameter that disallows overwriting of (same name) files being uploaded? I did check out the msdn site - way above my head, lOl. Link to comment Share on other sites More sharing options...
w0uter Posted June 17, 2005 Author Share Posted June 17, 2005 i could try a "FtpOpenFile" call. if it fails you know it is not there. if it is successfull. you know it exists. but i got alot of work to do (school) so i wont be able to do it till like monday. My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
rphMedia Posted June 17, 2005 Share Posted June 17, 2005 (edited) No hurry, thanks. I'll mess with that function call myself. Edited June 17, 2005 by rphMedia Link to comment Share on other sites More sharing options...
w0uter Posted July 22, 2005 Author Share Posted July 22, 2005 forgot to bump this thread up after updating now gimme some feedback My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
Lazycat Posted July 23, 2005 Share Posted July 23, 2005 Excellent! Tried all commands and now all works fine. How you think about implementing FtpCommand call? This can be particularly usefull for changeing file mode on the FTP. Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) Link to comment Share on other sites More sharing options...
w0uter Posted July 23, 2005 Author Share Posted July 23, 2005 id be hapy to do it after i get back from vacation but cant you just use Opt(ftptransfermode) (or something like that) My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
Lazycat Posted July 23, 2005 Share Posted July 23, 2005 but cant you just use Opt(ftptransfermode) (or something like that)<{POST_SNAPBACK}>FtpBinaryMode for Binary/ASCII? No, I mean Read/Write/Execute etc file flags that for example should be set for CGI scripts to appropriate work. Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) Link to comment Share on other sites More sharing options...
Wus Posted July 23, 2005 Share Posted July 23, 2005 I curious if you can toggle between connecting useing passive mode and active mode for your connections. Could that be one of the "Don't have a clue what this does" flags? Link to comment Share on other sites More sharing options...
anystupidassname Posted August 12, 2005 Share Posted August 12, 2005 I'd really like a response to Wus' question as well! This signature is computer generated, nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#....... Link to comment Share on other sites More sharing options...
w0uter Posted August 13, 2005 Author Share Posted August 13, 2005 @Wus It is called "Don't have a clue what this does" for a reason @Evryone working on some more noob friendly versions. 1 call to open & 1 to close FtpCommand Overwrite Flag My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
Wus Posted August 13, 2005 Share Posted August 13, 2005 Just trying to brainstorm Link to comment Share on other sites More sharing options...
Groumphy Posted August 16, 2005 Share Posted August 16, 2005 Very nice ... And easyly to use !! Thanks for this UDF !! ----------------------GroumphyMore information about me [Fr] Link to comment Share on other sites More sharing options...
w0uter Posted August 16, 2005 Author Share Posted August 16, 2005 (edited) thank you BTW: 1 call to open & 1 to close --> done FtpCommand --> 20% Overwrite Flag --> done after that update im gonna submit it as a standard include. Edited August 16, 2005 by w0uter My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
YoseMite Posted August 16, 2005 Share Posted August 16, 2005 IT WORKS!!! Hartelijk bedankt Wouter! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now