AutoIt Forums: FTP.au3 - AutoIt Forums

Jump to content

  • (15 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

FTP.au3 ftp commands Rate Topic: ****- 18 Votes

#1 User is offline   w0uter 

  • resreveR nA
  • PipPipPipPipPipPipPip
  • Group: Full Members
  • Posts: 2,262
  • Joined: 11-January 05
  • Location:The Netherlands

Posted 13 June 2005 - 11: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 File(s)


This post has been edited by w0uter: 19 July 2005 - 10:16 PM


#2 User is offline   layer 

  • i love skateboarding
  • PipPipPipPipPipPipPip
  • Group: Full Members
  • Posts: 2,470
  • Joined: 29-October 04

Posted 13 June 2005 - 11:34 PM

Looks nice ;) Keep it up.

PS,
I'll try em later :)

#3 User is offline   w0uter 

  • resreveR nA
  • PipPipPipPipPipPipPip
  • Group: Full Members
  • Posts: 2,262
  • Joined: 11-January 05
  • Location:The Netherlands

Posted 13 June 2005 - 11:36 PM

just getting started in the new and amazing world of dllcall's

#4 User is offline   rphMedia 

  • Newbie
  • Group: Members
  • Posts: 3
  • Joined: 14-June 05

Posted 14 June 2005 - 11: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 User is offline   w0uter 

  • resreveR nA
  • PipPipPipPipPipPipPip
  • Group: Full Members
  • Posts: 2,262
  • Joined: 11-January 05
  • Location:The Netherlands

Posted 14 June 2005 - 03:45 PM

rphMedia, on Jun 14 2005, 12:55 PM, said:

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.


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.

This post has been edited by w0uter: 14 June 2005 - 03:46 PM


#6 User is offline   w0uter 

  • resreveR nA
  • PipPipPipPipPipPipPip
  • Group: Full Members
  • Posts: 2,262
  • Joined: 11-January 05
  • Location:The Netherlands

Posted 14 June 2005 - 08:45 PM

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

btw 250 posts :)

This post has been edited by w0uter: 14 June 2005 - 08:46 PM


#7 User is offline   rphMedia 

  • Newbie
  • Group: Members
  • Posts: 3
  • Joined: 14-June 05

Posted 17 June 2005 - 12:33 PM

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 User is offline   w0uter 

  • resreveR nA
  • PipPipPipPipPipPipPip
  • Group: Full Members
  • Posts: 2,262
  • Joined: 11-January 05
  • Location:The Netherlands

Posted 17 June 2005 - 07: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.

#9 User is offline   rphMedia 

  • Newbie
  • Group: Members
  • Posts: 3
  • Joined: 14-June 05

Posted 17 June 2005 - 08:11 PM

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

This post has been edited by rphMedia: 17 June 2005 - 08:12 PM


#10 User is offline   w0uter 

  • resreveR nA
  • PipPipPipPipPipPipPip
  • Group: Full Members
  • Posts: 2,262
  • Joined: 11-January 05
  • Location:The Netherlands

Posted 22 July 2005 - 07:08 PM

forgot to bump this thread up after updating :)

now gimme some feedback :P

#11 User is offline   Lazycat 

  • Coding cat
  • Icon
  • Group: AutoIt MVPs(MVP)
  • Posts: 1,159
  • Joined: 15-December 03
  • Gender:Male
  • Location:Location: COLD

Posted 23 July 2005 - 10: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.

#12 User is offline   w0uter 

  • resreveR nA
  • PipPipPipPipPipPipPip
  • Group: Full Members
  • Posts: 2,262
  • Joined: 11-January 05
  • Location:The Netherlands

Posted 23 July 2005 - 11:27 AM

id be hapy to do it after i get back from vacation :P

but cant you just use Opt(ftptransfermode) (or something like that)

#13 User is offline   Lazycat 

  • Coding cat
  • Icon
  • Group: AutoIt MVPs(MVP)
  • Posts: 1,159
  • Joined: 15-December 03
  • Gender:Male
  • Location:Location: COLD

Posted 23 July 2005 - 11:57 AM

w0uter, on Jul 23 2005, 01:27 PM, said:

but cant you just use Opt(ftptransfermode) (or something like that)


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.

#14 User is offline   Wus 

  • Indentured Servant
  • PipPipPipPip
  • Group: Full Members
  • Posts: 513
  • Joined: 09-April 05
  • Gender:Male
  • Location:Berkeley, CA

Posted 23 July 2005 - 08: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?

#15 User is offline   anystupidassname 

  • Advanced Member
  • PipPip
  • Group: Full Members
  • Posts: 108
  • Joined: 02-September 04
  • Gender:Male

Posted 13 August 2005 - 12:20 AM

I'd really like a response to Wus' question as well!

#16 User is offline   w0uter 

  • resreveR nA
  • PipPipPipPipPipPipPip
  • Group: Full Members
  • Posts: 2,262
  • Joined: 11-January 05
  • Location:The Netherlands

Posted 13 August 2005 - 01:02 AM

@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

#17 User is offline   Wus 

  • Indentured Servant
  • PipPipPipPip
  • Group: Full Members
  • Posts: 513
  • Joined: 09-April 05
  • Gender:Male
  • Location:Berkeley, CA

Posted 13 August 2005 - 06:13 AM

Just trying to brainstorm ;)

#18 User is offline   Groumphy 

  • Advanced Member
  • PipPip
  • Group: Full Members
  • Posts: 128
  • Joined: 07-July 04
  • Location:Brussels

Posted 16 August 2005 - 06:01 PM

Very nice ... And easyly to use !!
Thanks for this UDF :D !!

#19 User is offline   w0uter 

  • resreveR nA
  • PipPipPipPipPipPipPip
  • Group: Full Members
  • Posts: 2,262
  • Joined: 11-January 05
  • Location:The Netherlands

Posted 16 August 2005 - 06:51 PM

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.

This post has been edited by w0uter: 16 August 2005 - 06:51 PM


#20 User is offline   YoseMite 

  • Advanced Member
  • PipPip
  • Group: Full Members
  • Posts: 168
  • Joined: 28-May 05
  • Location:The Netherlands

Posted 16 August 2005 - 08:06 PM

IT WORKS!!!
Hartelijk bedankt Wouter!

  • (15 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

3 User(s) are reading this topic
0 members, 3 guests, 0 anonymous users