Jump to content
Sign in to follow this  
w0uter

FTP.au3

Recommended Posts

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

FTP.au3

Edited by w0uter

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

@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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...