Wow that was a really clear and very instructive explanation! Thank you very much!
@learningsoftwareskills2 жыл бұрын
Thanks 👍
@premnathart3496 Жыл бұрын
is there any possibilites to resume and pause downloading files?
@learningsoftwareskills Жыл бұрын
Hi, I think it is not possible to pause download, at least out of the box...
@paltipa6 ай бұрын
Thank you! Very helpful!
@learningsoftwareskills6 ай бұрын
Your are welcome 👍
@mario55542 жыл бұрын
Great tutorial, you saved mylife dude, I owe you a beer!!! Thanks!!!
@learningsoftwareskills2 жыл бұрын
You are welcome. Thanks for the encouraging feedback 👍
@pablourbanohernandezvizcarra2 жыл бұрын
Great video, thanks for the video.
@learningsoftwareskills2 жыл бұрын
Thanks for the awesome feedback 👍
@carolpatel3771 Жыл бұрын
I have installed pysftp but it shows no module found, can you please help me out?
@learningsoftwareskills Жыл бұрын
Try to run python -m pip install pysftp command first, and then run the command python index.py Hope this helps, cheers 👍
@alieeldeenahmed22788 ай бұрын
Thanks for your video😊😊
@learningsoftwareskills8 ай бұрын
You are welcome 👍🙏
@Freddietheking Жыл бұрын
You taught so easy to understand much easier than the course I paid on Udemy but one thing sir the course I took they use some kinds of attr.filename() What is it I cant find anysources to answer prpperly.
@learningsoftwareskills Жыл бұрын
Thank you sir 👍🙏
@trungpham54032 жыл бұрын
How do hide privatekey as a parameter if i dont want to show path to privatekey or even show key as a string sir
@learningsoftwareskills2 жыл бұрын
kzbin.info/www/bejne/b5Stf2x6lLSkiqs Hi, in this video, we have shown how to access information from Operating system environment variables. You can use this technique to isolate sensitive information from your code. Otherwise you can have a JSON file to store sensitive information and use this in your code as shown in this video kzbin.info/www/bejne/qYHPZ3tvlJiNgas Hope this helps, Cheers 👍
@eyairayala11882 жыл бұрын
How to close the connection or is it not necessary to do so?
@learningsoftwareskills2 жыл бұрын
Hi, since we are using the "with" keyword while creating the SFTP connection, disposing the connection is not required, the connection will be disposed automatically Cheers👍
@eyairayala11882 жыл бұрын
@@learningsoftwareskills Excellent, thank you very much for your response!
@harshithabv6698 Жыл бұрын
Can you plz share the link of vedio explaining creation of private key file
@learningsoftwareskills Жыл бұрын
Hi, creating private-public key pair is explained in this video- kzbin.info/www/bejne/poDaiaFqmdRqqJI The blog for this video is at nagasudhir.blogspot.com/2022/03/setup-sftp-server-and-sftp-client-in.html Hope this helps, cheers 👍
@abhishekarora12 жыл бұрын
Mine say authentication failed although I am able to connect with the same cred in Filezilla? Any suggestion?
@learningsoftwareskills2 жыл бұрын
Hi, please check SFTP server logs to debug the issue. You can mail the code to me at learningsoftwareskills@gmail.com . I will take a look of issue still persists. Cheers 👍
@mohitjoshi13612 жыл бұрын
How can I download latest(based on modify/upload date) csv file from available csv files from ftp using python?
@learningsoftwareskills2 жыл бұрын
Hi, it is easy but there is no single command for getting latest csv file from the remote sftp server folder. Get the list of files by calling the "listdir" function on the sftp folder. Then find the latest file by checking the "st_mtime" attribute of each file object returned by listdir function. Using listdir function is already present the blogpost for this video at nagasudhir.blogspot.com/2022/03/sftp-server-communication-with-pysftp.html Hope this helps, Cheers👍
@mohitjoshi13612 жыл бұрын
@@learningsoftwareskills is it applicable to ftp also? I am trying to get latest file from ftp not from sftp.
@learningsoftwareskills2 жыл бұрын
Hi, use ftplib MLSD function to get the modified times along with filenames of all files in an FTP directory. Please see the solution in this link stackoverflow.com/a/29027386 Once you got the timestamps, select the file with latest timestamp Hope this helps, Cheers 👍
@ashviniv6272 Жыл бұрын
Hi ,Iam getting paramiko import error while importing pysftp .what is the solution for that? please help
@learningsoftwareskills Жыл бұрын
Hi, please post the error message here or mail to learningsoftwareskills@gmail.com so that we can take a look at it
@VaibhavSingh-cg5zs2 жыл бұрын
I need to connect sftp with tableau prep any such option available using python?
@learningsoftwareskills2 жыл бұрын
Hi, I am not well-versed with Tableau, but SFTP integration is not present in Tableau. So you can create an ODBC/JDBC driver based on your sftp and use it as a data source in Tableau. Or else you can create some batch script to periodically download required files from SFTP folder to local folder for usage in Tableau. Hope this helps, Cheers 👍
@jayapraveenk96372 жыл бұрын
Server connection dropped error occured while downloaing large files. How to download large files without error ?
@learningsoftwareskills2 жыл бұрын
Hi, please try the solution posted here - gist.github.com/vznncv/cb454c21d901438cc228916fbe6f070f The reason for failure of large file download may be the unlimited number of concurrent file blocks download requests sent by the client. The solution in the above link seems to solve this issue by sending limited number of concurrent download requests. So please try the solution posted in the above link. Hope this helps, cheers 👍
@jayapraveenk96372 жыл бұрын
@@learningsoftwareskills Thank you
@varunikunwar1362 жыл бұрын
Hi sudhir i am getting an error of [WinError 10061] No connection could be made because the target machine actively refused it, could you please help me with it
@learningsoftwareskills2 жыл бұрын
Hi, if you have use "localhost" as the host address, try using "127.0.0.1" Even then if you are getting errors, please see the logs in the windows event viewer. You can refer this video on how to view logs of SFTP server at kzbin.info/www/bejne/j4vahnWnea95orM Hope this helps, Cheers👍
@varunikunwar1362 жыл бұрын
@@learningsoftwareskills hi sudhir is there any way i could connect to u ?
@learningsoftwareskills2 жыл бұрын
@@varunikunwar136 hi, you can send mail to learningsoftwareskills@gmail.com Cheers 👍
@jittendrakumar39082 жыл бұрын
hi Nagesh. i used below code with pysftp.Connection(host=hostname,port=sftpport,username=username,password=password,cnopts=cnOpts) as sftp: sftp.put_r(r"C:\Users\sunshine",remotepath="/home/sunshine/",preserve_mtime=True) Connection went successful but the created folder is in below format in SFTP server. sunshine\.\ with no ZIP files. Can you please help.
@learningsoftwareskills2 жыл бұрын
Hi, SFTP by default doesn't restrict the type of files that can be transferred. Please check the user permissions on the files present in your local machine. May be this can be due to insufficient permissions Hope this helps, Cheers 👍
@jittendrakumar39082 жыл бұрын
@@learningsoftwareskills Can you please make video on uploading huge file to SFTP server. Thank you for your suggestion. it has worked now.
@learningsoftwareskills2 жыл бұрын
@@jittendrakumar3908 Thanks for the feedback, I will try to make a video on this topic
@jittendrakumar39082 жыл бұрын
@@learningsoftwareskills Hi Nagesh, i am eagerly waiting for 3 gb file upload to SFTP server. Please help
@learningsoftwareskills2 жыл бұрын
@@jittendrakumar3908 please see a stackoverflow solution at stackoverflow.com/a/66163763 May be this can help you, Cheers👍
@er.swatitanwar5838 Жыл бұрын
I am facing authentication failed error
@joaquinpatonteran967310 ай бұрын
can you from host (running the program on the host) send a file to the client?
@learningsoftwareskills10 ай бұрын
Hi, is not possible to send file from server to client