Jump to content



Photo

FTP.au3


  • Please log in to reply
283 replies to this topic

#1 w0uter

w0uter

    resreveR nA

  • Active Members
  • PipPipPipPipPipPip
  • 2,262 posts

Posted 13 June 2005 - 10:02 PM

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]

Attached Files


Edited by w0uter, 19 July 2005 - 09:16 PM.

My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll





#2 layer

layer

    i love skateboarding

  • Active Members
  • PipPipPipPipPipPip
  • 2,470 posts

Posted 13 June 2005 - 10:34 PM

Looks nice :( Keep it up.

PS,
I'll try em later :(
FootbaG

#3 w0uter

w0uter

    resreveR nA

  • Active Members
  • PipPipPipPipPipPip
  • 2,262 posts

Posted 13 June 2005 - 10:36 PM

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

#4 rphMedia

rphMedia

    Seeker

  • New Members
  • 3 posts

Posted 14 June 2005 - 10:55 AM

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.

#5 w0uter

w0uter

    resreveR nA

  • Active Members
  • PipPipPipPipPipPip
  • 2,262 posts

Posted 14 June 2005 - 02:45 PM

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.asp
ill try and screw around with it a bit.

Edited by w0uter, 14 June 2005 - 02:46 PM.

My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll

#6 w0uter

w0uter

    resreveR nA

  • Active Members
  • PipPipPipPipPipPip
  • 2,262 posts

Posted 14 June 2005 - 07:45 PM

posted for 10 hours now and already 128+ reads and 55 downloads.

btw 250 posts :(

Edited by w0uter, 14 June 2005 - 07:46 PM.

My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll

#7 rphMedia

rphMedia

    Seeker

  • New Members
  • 3 posts

Posted 17 June 2005 - 11:33 AM

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.

#8 w0uter

w0uter

    resreveR nA

  • Active Members
  • PipPipPipPipPipPip
  • 2,262 posts

Posted 17 June 2005 - 06:36 PM

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

#9 rphMedia

rphMedia

    Seeker

  • New Members
  • 3 posts

Posted 17 June 2005 - 07:11 PM

No hurry, thanks. I'll mess with that function call myself.

Edited by rphMedia, 17 June 2005 - 07:12 PM.


#10 w0uter

w0uter

    resreveR nA

  • Active Members
  • PipPipPipPipPipPip
  • 2,262 posts

Posted 22 July 2005 - 06:08 PM

forgot to bump this thread up after updating :)

now gimme some feedback :evil:
My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll

#11 Lazycat

Lazycat

    Coding cat

  • MVPs
  • 1,174 posts

Posted 23 July 2005 - 09:21 AM

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 (http://www.autoitscript.com/fileman/users/lookfar/formdesign.html) (Bug Tracker)My Autoit script page (http://www.autoitscript.com/fileman/users/Lazycat/)

#12 w0uter

w0uter

    resreveR nA

  • Active Members
  • PipPipPipPipPipPip
  • 2,262 posts

Posted 23 July 2005 - 10:27 AM

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

#13 Lazycat

Lazycat

    Coding cat

  • MVPs
  • 1,174 posts

Posted 23 July 2005 - 10:57 AM

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 (http://www.autoitscript.com/fileman/users/lookfar/formdesign.html) (Bug Tracker)My Autoit script page (http://www.autoitscript.com/fileman/users/Lazycat/)

#14 Wus

Wus

    Indentured Servant

  • Active Members
  • PipPipPipPipPipPip
  • 513 posts

Posted 23 July 2005 - 07:47 PM

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?
Posted Image

#15 anystupidassname

anystupidassname

    Adventurer

  • Active Members
  • PipPip
  • 108 posts

Posted 12 August 2005 - 11:20 PM

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#.......

#16 w0uter

w0uter

    resreveR nA

  • Active Members
  • PipPipPipPipPipPip
  • 2,262 posts

Posted 13 August 2005 - 12:02 AM

@Wus
It is called "Don't have a clue what this does" for a reason :whistle:



@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

#17 Wus

Wus

    Indentured Servant

  • Active Members
  • PipPipPipPipPipPip
  • 513 posts

Posted 13 August 2005 - 05:13 AM

Just trying to brainstorm :whistle:
Posted Image

#18 Groumphy

Groumphy

    Adventurer

  • Active Members
  • PipPip
  • 128 posts

Posted 16 August 2005 - 05:01 PM

Very nice ... And easyly to use !!
Thanks for this UDF :whistle: !!
----------------------GroumphyMore information about me [Fr]

#19 w0uter

w0uter

    resreveR nA

  • Active Members
  • PipPipPipPipPipPip
  • 2,262 posts

Posted 16 August 2005 - 05:51 PM

thank you :whistle:

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 by w0uter, 16 August 2005 - 05:51 PM.

My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll

#20 YoseMite

YoseMite

    Prodigy

  • Active Members
  • PipPipPip
  • 168 posts

Posted 16 August 2005 - 07:06 PM

IT WORKS!!!
Hartelijk bedankt Wouter!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users