Can I use Transfer via Local Network to transfer a directory?

iOS, iPad, iPhone, tvOS specific usage questions
FrazzleDancer
New Cone
New Cone
Posts: 3
Joined: 29 Dec 2015 02:04

Can I use Transfer via Local Network to transfer a directory?

Postby FrazzleDancer » 29 Dec 2015 02:10

My music collection is large, and manually selecting every file will be ... painful. If I select a directory, will it and its contents be transferred?
Barring that, can someone describe the HTTP POST request that gets sent to transfer a file, so I might write a shell script w/find+wget to automate the task?

FrazzleDancer
New Cone
New Cone
Posts: 3
Joined: 29 Dec 2015 02:04

Re: Can I use Transfer via Local Network to transfer a directory?

Postby FrazzleDancer » 29 Dec 2015 19:43

Used Wireshark to capture the file upload HTML & JavaScript and the resulting HTTP POST... reading up on curl now (wget can't POST multipart).

FrazzleDancer
New Cone
New Cone
Posts: 3
Joined: 29 Dec 2015 02:04

Re: Can I use Transfer via Local Network to transfer a directory?

Postby FrazzleDancer » 30 Dec 2015 04:04

Hey, someone else beat me to it! http://blog.ithasu.org/2013/07/uploadin ... mand-line/
Looks like this one-liner should do it:
find Music -type f -exec curl -F files[]=@{} http://my-phones-url/upload.json \;


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 34 guests