Community discussions

MikroTik App
 
antkamidiv
just joined
Topic Author
Posts: 24
Joined: Fri Jun 22, 2012 12:22 pm
Contact:

FTP uploading in passive mode

Fri Jun 22, 2012 12:29 pm

Hi, everyone!!! :)
Can fetch tool work as ftp client in passive mode?
Thx in advance.
 
antkamidiv
just joined
Topic Author
Posts: 24
Joined: Fri Jun 22, 2012 12:22 pm
Contact:

Re: FTP uploading in passive mode

Fri Jun 22, 2012 8:05 pm

Ok. I solved this problem! I changed range of ports for passive mode in firewall nat rule. Excuse me for silly question.
 
antkamidiv
just joined
Topic Author
Posts: 24
Joined: Fri Jun 22, 2012 12:22 pm
Contact:

Re: FTP uploading in passive mode

Sat Jun 23, 2012 7:05 am

Ok! I found solution to my problem. But the new problem appeared.
When I run command /tool fetch address=192.168.0.100 src-path=1 user=user mode=ftp password=pass upload=yes dst-path=1 It works ok. File 1 is transmitted successfully.
But in script this instruction isn't executed. File 1 is created on the external ftp server and has 0 size.
 
antkamidiv
just joined
Topic Author
Posts: 24
Joined: Fri Jun 22, 2012 12:22 pm
Contact:

Re: FTP uploading in passive mode

Mon Jun 25, 2012 1:26 pm

Ohh! I understood. When I uploaded files I used file names without pointing their extensions. That is why router couldn't find these files.

Topic is closed.