PDA

Bekijk de volledige versie : wput to ftp: what do i do wrong?



madace
03-10-2009, 10:51
hi! i'm complete newbee in linux but i managed somehow to install olegs firmware and complete wengi's tutorial (thnx wengi!)
now im using 500gb external hdd with transmission for torrent download and it works fine.

the only problem is that i want to copy downloaded files to mediaplayer tvix m6500 in background mode. i tried curl and it worked ok ::)

curl -T test.avi ftp://192.168.1.111/disk1/VIDEO/Action, adventure, fiction/ --user tvixftp:A05115:
but curl does not work in background mode by default, right?
so i tried wput ::eek:

wput test.avi ftp://tvixftp:A05115@192.168.1.111/disk1/VIDEO/Action, adventure, fiction/
--12:18:05-- `test.avi'
=> ftp://tvixftp:xxxxx@192.168.1.111:21/disk1/VIDEO/Action,
Connecting to 192.168.1.111:21... failed!
Waiting 10 seconds... Connecting to 192.168.1.111:21... failed!
Waiting 10 seconds...
:confused::confused::confused:
so the questions are :
1. what i did wrong with wput ? curl was indicating error codes, so i was able to track problem, but not with wput
2. what is the easest way to organize background download for a amateur in linux?
3. if i add -d option to wput it has to finish copying after i close terminal session, right?

WBR,
Madace

avberk
04-10-2009, 16:57
ipkg install screen

Search the forum for 'screen'