Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
eget
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
eget
Commits
384aea29
Commit
384aea29
authored
Oct 13, 2014
by
Danil Mikhailov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create dir before download
parent
216a812e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
test_eget_ftp
test/test_eget_ftp
+10
-3
No files found.
test/test_eget_ftp
View file @
384aea29
...
@@ -4,12 +4,18 @@ EGET=../eget
...
@@ -4,12 +4,18 @@ EGET=../eget
test_download
(){
test_download
(){
echo
"Download
$1
"
echo
"Download
$1
"
MYFILE
=
$(
basename
$1
)
/
$(
basename
$1
)
MYDIR
=
./
$(
basename
$1
)
mkdir
-p
$MYDIR
cd
$MYDIR
$EGET
$1
$EGET
$1
file
$(
basename
$1
)
cd
-
rm
-rf
$(
basename
$1
)
file
$MYFILE
#rm -rf $MYDIR
}
}
#test_download ftp://updates.etersoft.ru/pub/people/danil/Victor.jpg
#test_download ftp://updates.etersoft.ru/pub/people/danil/Victor.jpg
#test_download ftp://ftp.altlinux.ru/pub/docs/Heap/favicon.ico
#test_download ftp://ftp.altlinux.ru/pub/docs/Heap/favicon.ico
test_download ftp://updates.etersoft.ru/pub/people/danil/eget_test/
test_download ftp://updates.etersoft.ru/pub/people/danil/eget_test/
*
#test_download http://updates.etersoft.ru/pub/people/danil/eget_test/
#test_download http://updates.etersoft.ru/pub/people/danil/eget_test/
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment