Friday, July 24, 2020

Re: Advice on creating an SFTP frontend in Django

Hi Paul,
 Please provide me your email ID? I want to ask something about Paramiko and SFTP frontend.



On Thursday, July 4, 2013 at 1:13:27 AM UTC+5:30, Paul Hudson wrote:
Hi,

I have successfully used django-storages (http://django-storages.readthedocs.org/en/latest/index.html)  and paramiko directly to log into an SFTP server and list a directory.  My end goal is to make a simple Client Area that allows the downloading of files hosted on SFTP.  I am open to any advice.  But here are a few specific questions:

  1. How should I handle authentication?  Use django's built in authentication and pass the usr/pwd onto the SFTP? (is that possible in a secure way?)  Authenticate directly against SFTP server in a secure way?
  2. Are files going to be transferred twice?  Once from SFTP to temp area on Django server.  And then downloaded via client's web browser...  Am I just better off hosting the files on the web server to begin with?  (The files need to be available on SFTP and via web browser.  Maybe instead of direct access to SFTP via Django, I should focus on a simple way to post the original files to both places???)
  3. Are they any Django Projects/Plugins/Components for File Explorer/FTP Client type GUIs that you would recommend using or referencing?


Thanks for any and all input!
-Paul

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b2f1ffc0-09cf-4fab-b6ce-1bcd6f2d31cdo%40googlegroups.com.

No comments:

Post a Comment