mIRC Home    About    Download    Register    News    Help

Print Thread
#199525 15/05/08 10:11 PM
Joined: Sep 2007
Posts: 28
M
Miyako Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Sep 2007
Posts: 28
I want to try to connect to a FTP and upload something with a mIRC-script, the problem: it doesn't work.
I can connect, I can enter USER/PASS-command, but from that step, I don't know what to do...
I tried to use the STOR-command, but I don't know how to use it correct.
Someone got an idea?
If I trie the STOR-command, I get error: <- 425 Unable to build data connection: Invalid argument

Because I don't know how to transmit the file through FTP.

I think I first should open PASV connection for the file transfer, and connecting to that IP+PORT, but then I don't know anymore.

Last edited by Miyako; 15/05/08 10:15 PM.
Miyako #199534 16/05/08 12:29 AM
Joined: Nov 2007
Posts: 19
J
Pikka bird
Offline
Pikka bird
J
Joined: Nov 2007
Posts: 19
There's a great FTP script here: http://www.mircscripts.org/comments.php?cid=2520

If you don't want to use that, just look through it and check out how it works

Jyang #199590 16/05/08 09:36 PM
Joined: Sep 2007
Posts: 28
M
Miyako Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Sep 2007
Posts: 28
Thanks man smile


Link Copied to Clipboard