Jump to content

HELP : FTP functions won't work ...


Recommended Posts

i desperately try to have ftp functions like _FtpPutFile working.

i've downloaded FTP.au3 as presented by Wouters and some other guys (in previous posts).

_FtpOpen, _FTPConnect ... no problem ... i get a connection ID

command like :

_sendcommand($Conn,"cwd /webclients/toto/") works ...

i wrote, based on the samples found here in the forum, an _FtpGetCurrentDirectory() which is working too ...

but all my other tries like :

$x=_sendcommand($Conn,"mkd /tutu/"),
$make=_FTPMakeDir($Conn, "titi"),
$Ftpp = _FtpPutFile($Conn, 'c:/toto.txt', '/webclients/toto/titi.txt')

won't work ... what i am doing wrong ? :)

it's not a problem of access rights ... i did all this tries with Filezilla or dos FTP commands without any problem ...

can somebody give me hints to troubleshoot this behaviour ?

for example the _FtpPutFile always return the '127' error code which doesn't help me much ...

any help ?

thanks !

Link to comment
Share on other sites

ERROR_PROC_NOT_FOUND

127

The specified procedure could not be found.

you got a snipet of your code where you call my func's ?

also what OS ?

btw the one that erafish "composed" is old. use my new ver.

http://www.autoitscript.com/forum/index.ph...pe=post&id=2840

Edited 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

ERROR_PROC_NOT_FOUND

127

The specified procedure could not be found.

you got a snipet of your code where you call my func's ?

also what OS ?

btw the one that erafish "composed" is old. use my new ver.

http://www.autoitscript.com/forum/index.ph...pe=post&id=2840

<{POST_SNAPBACK}>

thanks for answering ...

i also did found this "ERROR_PROC_NOT_FOUND" but ... it doesn't help me neither ...

for the snipet of code here is what i used ...

OS : windows XP ... but it didn't work on w2000 either ....FTP_Example_wouter.au3FTP.au3

Link to comment
Share on other sites

hmm this is weird.

it also gives a 127 error on my pc.

i was working on an other UDF and it also returnd 127. is this just me/windows. or did dllcall break ?

Edited 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

hmm this is weird.

it also gives a 127 error on my pc.

i was working on an other UDF and it also returnd 127. is this just me/windows. or did dllcall break ?

<{POST_SNAPBACK}>

yes ... i made almost no changes to your code except i just added in _ftpputfile the few lines returning the error code ...

all samples i've seen were using wininet.dll ... is there any other way ? (using ftp dos commands ?)

i don't understand coz the call of wininet functions is not so complicated ... i'm sure many people use dll calls without any problem ... "the answer is elsewhere"

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...