Forum Discussion
Hi @Mahesh7225,
Is there a particular reason not to use the Read & Write snaps for manipulating files on FTP? If you decide to go through Python after all, you’ll need to use the ftplib library. You can find detailed information on how to use it on the following link:
Regards,
Bojan
Hi bojanvelevski,
Thanks for reply , through read/write/directory browser snap, i am unable to connect to the ftp server (error :- “Unable to create filesystem object for sftp” , message:- “Failed to get SFTP session connected”) so trying to connect through script.
Thanks
Mahesh
- bojanvelevski4 years agoValued Contributor
Usually it is a syntax error in the SFTP path. It needs to follow the next convention:
sftp://server-name/main-directory/sub-directory/file.txt
If that is ok, re-check your account information.