Wow that was a really clear and very instructive explanation! Thank you very much!
@learningsoftwareskills
Жыл бұрын
Thanks 👍
@pablourbanohernandezvizcarra
2 жыл бұрын
Great video, thanks for the video.
@learningsoftwareskills
2 жыл бұрын
Thanks for the awesome feedback 👍
@alieeldeenahmed2278
3 ай бұрын
Thanks for your video😊😊
@learningsoftwareskills
3 ай бұрын
You are welcome 👍🙏
@Freddietheking
11 ай бұрын
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
11 ай бұрын
Thank you sir 👍🙏
@mario5554
Жыл бұрын
Great tutorial, you saved mylife dude, I owe you a beer!!! Thanks!!!
@learningsoftwareskills
Жыл бұрын
You are welcome. Thanks for the encouraging feedback 👍
@abhishekarora1
Жыл бұрын
Mine say authentication failed although I am able to connect with the same cred in Filezilla? Any suggestion?
@learningsoftwareskills
Жыл бұрын
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 👍
@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 👍
@premnathart3496
9 ай бұрын
is there any possibilites to resume and pause downloading files?
@learningsoftwareskills
9 ай бұрын
Hi, I think it is not possible to pause download, at least out of the box...
@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
@trungpham5403
Жыл бұрын
How do hide privatekey as a parameter if i dont want to show path to privatekey or even show key as a string sir
@learningsoftwareskills
Жыл бұрын
kzitem.info/news/bejne/mpmAtG16mIGih34 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 kzitem.info/news/bejne/1IainHxvmGWLfn4 Hope this helps, Cheers 👍
@eyairayala1188
Жыл бұрын
How to close the connection or is it not necessary to do so?
@learningsoftwareskills
Жыл бұрын
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👍
@eyairayala1188
Жыл бұрын
@@learningsoftwareskills Excellent, thank you very much for your response!
@varunikunwar136
Жыл бұрын
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
@learningsoftwareskills
Жыл бұрын
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 kzitem.info/news/bejne/upCtu3anfXx3n4Y Hope this helps, Cheers👍
@varunikunwar136
Жыл бұрын
@@learningsoftwareskills hi sudhir is there any way i could connect to u ?
@learningsoftwareskills
Жыл бұрын
@@varunikunwar136 hi, you can send mail to learningsoftwareskills@gmail.com Cheers 👍
@mohitjoshi1361
Жыл бұрын
How can I download latest(based on modify/upload date) csv file from available csv files from ftp using python?
@learningsoftwareskills
Жыл бұрын
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👍
@mohitjoshi1361
Жыл бұрын
@@learningsoftwareskills is it applicable to ftp also? I am trying to get latest file from ftp not from sftp.
@learningsoftwareskills
Жыл бұрын
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 👍
@VaibhavSingh-cg5zs
2 жыл бұрын
I need to connect sftp with tableau prep any such option available using python?
@learningsoftwareskills
2 жыл бұрын
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 👍
@jittendrakumar3908
2 жыл бұрын
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.
@learningsoftwareskills
2 жыл бұрын
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 👍
@jittendrakumar3908
2 жыл бұрын
@@learningsoftwareskills Can you please make video on uploading huge file to SFTP server. Thank you for your suggestion. it has worked now.
@learningsoftwareskills
2 жыл бұрын
@@jittendrakumar3908 Thanks for the feedback, I will try to make a video on this topic
@jittendrakumar3908
2 жыл бұрын
@@learningsoftwareskills Hi Nagesh, i am eagerly waiting for 3 gb file upload to SFTP server. Please help
@learningsoftwareskills
2 жыл бұрын
@@jittendrakumar3908 please see a stackoverflow solution at stackoverflow.com/a/66163763 May be this can help you, Cheers👍
@jayapraveenk9637
2 жыл бұрын
Server connection dropped error occured while downloaing large files. How to download large files without error ?
@learningsoftwareskills
2 жыл бұрын
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 👍
@jayapraveenk9637
2 жыл бұрын
@@learningsoftwareskills Thank you
@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- kzitem.info/news/bejne/0YWtvqJqnaFopWU The blog for this video is at nagasudhir.blogspot.com/2022/03/setup-sftp-server-and-sftp-client-in.html Hope this helps, cheers 👍
@er.swatitanwar5838
Жыл бұрын
I am facing authentication failed error
@joaquinpatonteran9673
6 ай бұрын
can you from host (running the program on the host) send a file to the client?
@learningsoftwareskills
6 ай бұрын
Hi, is not possible to send file from server to client
Пікірлер: 49