S Sarankbm New Member May 29, 2019 #1 Hi All, how to download the file from Filezilla (SFTP) through vba code. Regards, Saran.K
Chihiro Excel Ninja May 29, 2019 #2 I've no idea about Filezilla. But you can use WinSCP for SFTP download automation. If you go to WinSCP site they give example code. Though it's in VBS you can easily adopt it to VBA. https://winscp.net/eng/docs/library_session_getfiles#vbscript Or you could use Shell() function instead to download files using WinSCP. For shell example, just do search on google and you'll find plenty of examples. But if you want to just automate/script download from SFTP. Why not just use CURL?
I've no idea about Filezilla. But you can use WinSCP for SFTP download automation. If you go to WinSCP site they give example code. Though it's in VBS you can easily adopt it to VBA. https://winscp.net/eng/docs/library_session_getfiles#vbscript Or you could use Shell() function instead to download files using WinSCP. For shell example, just do search on google and you'll find plenty of examples. But if you want to just automate/script download from SFTP. Why not just use CURL?
S Sarankbm New Member May 29, 2019 #3 hi thank you for your response .ok i will try Winscp. But Now i have SFTP (Filezilla) Application only. i was explore in google but still i did't get the answer. if you have any idea please let me know.
hi thank you for your response .ok i will try Winscp. But Now i have SFTP (Filezilla) Application only. i was explore in google but still i did't get the answer. if you have any idea please let me know.
Chihiro Excel Ninja May 29, 2019 #4 Quick search indicates that Filezilla doesn't support any automation layer.
Marc L Excel Ninja May 29, 2019 #5 Sarankbm said: how to download the file from Filezilla Click to expand... As Filezilla is not a website but just a tool software …
Sarankbm said: how to download the file from Filezilla Click to expand... As Filezilla is not a website but just a tool software …
S Sarankbm New Member May 30, 2019 #6 hi thank you for your response .Now i instal the winscp. how to download the file from winscp(SFTP) through Excel VBA
hi thank you for your response .Now i instal the winscp. how to download the file from winscp(SFTP) through Excel VBA
Chihiro Excel Ninja May 30, 2019 #7 You haven't given us much detail, in order for us to help you really. Go to link blow, and use code in Post#7. https://access-programmers.co.uk/forums/showthread.php?t=280970 Note: Depending on your installation path for WinSCP you'll need to change the path for strSFTPDir.
You haven't given us much detail, in order for us to help you really. Go to link blow, and use code in Post#7. https://access-programmers.co.uk/forums/showthread.php?t=280970 Note: Depending on your installation path for WinSCP you'll need to change the path for strSFTPDir.