Advice on creating an SFTP frontend in Django

963 views
Skip to first unread message

Paul Hudson

unread,
Jul 3, 2013, 3:43:27 PM7/3/13
to django...@googlegroups.com
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

Adnan Sadzak

unread,
Jul 3, 2013, 5:00:28 PM7/3/13
to django...@googlegroups.com
Hi Paul,

does all users have/need their own SFTP account on server?
If not, You can mount remote SFTP folder on web server and control access to folders via django.

Cheers,
Adnan


-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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Андрей Максимов

unread,
Dec 9, 2014, 1:07:05 PM12/9/14
to django...@googlegroups.com
Hi Paul.
I hope you moved to your final goal. Now before me there is the same objective is to make a simple Client Area that allows the downloading of files hosted on SFTP.
Unfortunately I can not help you with your questions but I hope if you are advanced with this issue, you will be able to tell a little detail as you have implemented it.
T
hanks in advance.

среда, 3 июля 2013 г., 23:43:27 UTC+4 пользователь Paul Hudson написал:

Raj Kairam

unread,
Dec 10, 2014, 11:23:20 AM12/10/14
to django...@googlegroups.com
Please stop sending these emails to my gmail account

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.

Vishnu Bhandari

unread,
Jul 24, 2020, 3:19:11 PM7/24/20
to Django users
Hi Paul,
 Please provide me your email ID? I want to ask something about Paramiko and SFTP frontend.
Reply all
Reply to author
Forward
0 new messages