Page 2 of 2

Re: FTP list

Posted: Mon Sep 16, 2013 2:04 pm
by xabierpayet
Hello PEB, another question, i need send noop command constantly to the server?
and another, if i add this text to the script

senddata(1, "CWD /files\r\n")
data$=receivedata(2,#receiveall)
debugprint(data$)

i don´t have any text in my output screen, i need open the connection everytime that i send a msg?
reading the output in the filezilla screen, i don´t understand how send the messages when i´m logged in
and with the list of the contents

regards

Re: FTP list

Posted: Tue Sep 17, 2013 1:35 am
by PEB
Some servers might need to receive the NOOP command every once in a while to keep the connection open; but I don't think it's generally necessary.

If you want to change directories, you need to open another data channel (the previous one expires once all the requested data is sent) in order to receive the information about the new directory. So you have to repeat the PASV command and open the connection for the new data channel.

We probably should stop using this thread for FTP questions, since it has already been demonstrated that Hollywood has no trouble with such connections. You can e-mail me directly if you want: revbloedel{at}gmail{dot}com

Re: FTP list

Posted: Tue Sep 17, 2013 10:34 am
by xabierpayet
ok, perfect, i has learned a lot about ftp´s with 2 posts xD