1.

Solve : secure problem in ftp?

Answer» <html><body><p>Hello <a href="https://interviewquestions.tuteehub.com/tag/everybody-245583" style="font-weight:bold;" target="_blank" title="Click to know more about EVERYBODY">EVERYBODY</a>,<br/><br/>I need your help. I have created a batch file that I make ftp to my server and I transfer some files, <a href="https://interviewquestions.tuteehub.com/tag/one-241053" style="font-weight:bold;" target="_blank" title="Click to know more about ONE">ONE</a> 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 <a href="https://interviewquestions.tuteehub.com/tag/password-597077" style="font-weight:bold;" target="_blank" title="Click to know more about PASSWORD">PASSWORD</a> is visible!! <br/><br/>I give to you the commands that I use:<br/><br/>FTP -s:ftpwlk.txt env.meteo.noa.gr<br/><br/>this command open a txt file that contains the following details<br/><br/>"username"<br/>"password"<br/>binary<br/>prompt n<br/>cd stations/seli<br/>mput <a href="https://interviewquestions.tuteehub.com/tag/c-3540" style="font-weight:bold;" target="_blank" title="Click to know more about C">C</a>:\transfer.wlk\*.*<br/>quit<br/><br/>There is any way to keep the password <a href="https://interviewquestions.tuteehub.com/tag/invisible-499587" style="font-weight:bold;" target="_blank" title="Click to know more about INVISIBLE">INVISIBLE</a>?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.</p></body></html>


Discussion

No Comment Found