Help - Search - Members
Full Version: Cant get file from ftp via commandline
Kaspersky Lab Forum > English User Forum > Protection for Home Users
Deshoax
i had programmed a batch that downloads a file from a ftp server.
it works on all pc´s, but the only pc´s where it doesnt work, running KIS 2009, includeing mine.

i use it like this way:

@ECHO OFF
color 0A
echo.
echo #############################################
echo # #
echo # Downloader #
echo # #
echo # Made by Deshoax #
echo # #
echo #############################################
echo.
echo.
echo.

set choice=
set /p choice= Do you want to download? [y/n]:
if not '%choice%'=='' set choice=%choice:~0,1%
if '%choice%'=='y' goto download
if '%choice%'=='n' goto exit

:download
@echo open anything.any>>folder\destef002
@echo username>>folder\destef002
@echo password>>folder\destef002
@echo hash>>folder\destef002
@echo bin>>folder\destef002
@echo bell>>folder\destef002
@echo lcd folder>>folder\destef002
@echo get "binary file.abc" "binary file.abc">>folder\destef002
@echo bye>>folder\destef002
echo.
echo Start downloading...
ftp -v -s:folder\destef002
del folder\destef002
Pause

i dont know why but with my KIS 2009 i cant download my file.

Can anyone help me? icon20.gif icon20.gif icon20.gif
the_phantom_boy
"Settings" -> "System Security" -> click on "Settings" under "Application Filtering" -> now search in the list, the batch file u are using...
It will be probably, at "Low Restricted", or "High Restricted"...
Click on your batch file on the list, and choose "Move to" -> "Trusted"...

P.S.
I use to have a batch file with the command "shutdown -s -t 1800" inside...
I was using it to shut my PC in 30 minutes...
Kaspersky 2009, every time was asking me for permision to run the file...
After i add it on "Trusted" group, its working fine...
Probably u can use this too... ;-)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.