Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ remote_path = "/path/to/audio/folders" # Change based on server
|
|
| 19 |
if st.sidebar.button("🔄 Connect & List Folders"):
|
| 20 |
try:
|
| 21 |
# Connect to FTP server
|
| 22 |
-
ftp = FTP(host, timeout=
|
| 23 |
ftp.login(user=username, passwd=password)
|
| 24 |
|
| 25 |
# List available folders (filter date-based ones)
|
|
|
|
| 19 |
if st.sidebar.button("🔄 Connect & List Folders"):
|
| 20 |
try:
|
| 21 |
# Connect to FTP server
|
| 22 |
+
ftp = FTP(host, timeout=120)
|
| 23 |
ftp.login(user=username, passwd=password)
|
| 24 |
|
| 25 |
# List available folders (filter date-based ones)
|