';
+ printf(_('Alternatively, you can use FTP to upload a new file at %1$s.'), forge_get_config('ftp_upload_host'));
+ echo ' ';
+ echo _('Choose an already uploaded file:').' ';
+ $ftp_files_arr=frs_filterfiles(ls($upload_dir,true));
+ echo html_build_select_box_from_arrays($ftp_files_arr,$ftp_files_arr,'ftp_filename','');
+ echo '
';
+ }
-getUnixName()."/incoming" ;
-
- echo '
';
- printf(_('Alternatively, you can use a file you already uploaded (by SFTP or SCP) to the project\'s incoming directory (%1$s).'),
- $incoming, "sftp://" . forge_get_config ('web_host') . $incoming . "/");
- echo ' ' . _('This direct sftp:// link only works with some browsers, such as Konqueror.') . ' ';
- echo _('Choose an already uploaded file:').' ';
- $manual_files_arr=frs_filterfiles(ls($incoming,true));
- echo html_build_select_box_from_arrays($manual_files_arr,$manual_files_arr,'manual_filename',''); ?>
-
';
+ printf(_('Alternatively, you can use a file you already uploaded (by SFTP or SCP) to the project\'s incoming directory (%1$s).'),
+ $incoming, "sftp://" . forge_get_config ('web_host') . $incoming . "/");
+ echo ' ' . _('This direct sftp:// link only works with some browsers, such as Konqueror.') . ' ';
+ echo _('Choose an already uploaded file:').' ';
+ $manual_files_arr=frs_filterfiles(ls($incoming,true));
+ echo html_build_select_box_from_arrays($manual_files_arr,$manual_files_arr,'manual_filename','');
+ echo '
';
printf (_('You can now add files to this release if you wish, or edit the release. Please note that file(s) may not appear immediately on the download page. Allow several hours for propagation.'),
util_make_url ('/frs/admin/editrelease.php?release_id='.$frsr->getID().'&group_id='.$group_id.'&package_id='.$package_id),
util_make_url ('/frs/?group_id='.$group_id)
) ;
- echo '
';
- printf(_('Alternatively, you can use a file you already uploaded (by SFTP or SCP) to the project\'s incoming directory (%1$s).'),
- $incoming, "sftp://" . forge_get_config ('web_host') . $incoming . "/");
- echo ' ' . _('This direct sftp:// link only works with some browsers, such as Konqueror.') . ' ';
- echo _('Choose an already uploaded file:').' ';
- $manual_files_arr=frs_filterfiles(ls($incoming,true));
- echo html_build_select_box_from_arrays($manual_files_arr,$manual_files_arr,'manual_filename',''); ?>
-
';
+ printf(_('Alternatively, you can use a file you already uploaded (by SFTP or SCP) to the project\'s incoming directory (%1$s).'),
+ $incoming, "sftp://" . forge_get_config ('web_host') . $incoming . "/");
+ echo ' ' . _('This direct sftp:// link only works with some browsers, such as Konqueror.') . ' ';
+ echo _('Choose an already uploaded file:').' ';
+ $manual_files_arr=frs_filterfiles(ls($incoming,true));
+ echo html_build_select_box_from_arrays($manual_files_arr,$manual_files_arr,'manual_filename','');
+ echo '