1.

Solve : secure problem in ftp?

Answer»

Hello EVERYBODY,

I need your help. I have created a batch file that I make ftp to my server and I transfer some files, ONE time per month. I have scheduled this batch using the scheduled tasks of windows xp. The script works fine but I have a secure problem. The PASSWORD is visible!!

I give to you the commands that I use:

FTP -s:ftpwlk.txt env.meteo.noa.gr

this command open a txt file that contains the following details

"username"
"password"
binary
prompt n
cd stations/seli
mput C:\transfer.wlk\*.*
quit

There is any way to keep the password INVISIBLE?You could get your batch to prompt for the password, or protect the directory that the batch executes from so that only you can see itnowadays the secure way to transfer files is through SSH protocol. Try using SFTP/SCP for file transfer. You can set up passwordless keys so you don't have to hard code any password in your batch files.



Discussion

No Comment Found